mirror of
https://github.com/home-assistant/core.git
synced 2025-08-12 17:15:19 +02:00
tag on " AirTunes Speaker" instead
This commit is contained in:
@@ -357,9 +357,7 @@ class AirPlayDevice(MediaPlayerDevice):
|
|||||||
|
|
||||||
if 'name' in state_hash:
|
if 'name' in state_hash:
|
||||||
name = state_hash.get('name', '')
|
name = state_hash.get('name', '')
|
||||||
kind = state_hash.get('kind', 'AirPlay')
|
self.device_name = (name + ' AirTunes Speaker').strip()
|
||||||
|
|
||||||
self.device_name = (name + ' ' + kind).strip()
|
|
||||||
|
|
||||||
if 'kind' in state_hash:
|
if 'kind' in state_hash:
|
||||||
self.kind = state_hash.get('kind', None)
|
self.kind = state_hash.get('kind', None)
|
||||||
|
Reference in New Issue
Block a user