mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Set has_entity_name in Onkyo (#149223)
This commit is contained in:
parent
df4e1411cc
commit
2315bcbfe3
@ -152,6 +152,7 @@ class OnkyoMediaPlayer(MediaPlayerEntity):
|
||||
"""Onkyo Receiver Media Player (one per each zone)."""
|
||||
|
||||
_attr_should_poll = False
|
||||
_attr_has_entity_name = True
|
||||
|
||||
_supports_volume: bool = False
|
||||
# None means no technical possibility of support
|
||||
|
@ -22,7 +22,7 @@ rules:
|
||||
comment: |
|
||||
Currently we store created entities in hass.data. That should be removed in the future.
|
||||
entity-unique-id: done
|
||||
has-entity-name: todo
|
||||
has-entity-name: done
|
||||
runtime-data: done
|
||||
test-before-configure: done
|
||||
test-before-setup: done
|
||||
|
@ -22,7 +22,7 @@
|
||||
'domain': 'media_player',
|
||||
'entity_category': None,
|
||||
'entity_id': 'media_player.tx_nr7100',
|
||||
'has_entity_name': False,
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
@ -98,7 +98,7 @@
|
||||
'domain': 'media_player',
|
||||
'entity_category': None,
|
||||
'entity_id': 'media_player.tx_nr7100_zone_2',
|
||||
'has_entity_name': False,
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
@ -162,7 +162,7 @@
|
||||
'domain': 'media_player',
|
||||
'entity_category': None,
|
||||
'entity_id': 'media_player.tx_nr7100_zone_3',
|
||||
'has_entity_name': False,
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user