mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
tag on " AirTunes Speaker" instead
This commit is contained in:
parent
77b9a12687
commit
61685ea13d
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user