parent
78a3c01f27
commit
384f63dd1d
23 changed files with 33 additions and 21 deletions
|
@ -30,7 +30,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
class CecSwitchDevice(CecDevice, SwitchDevice):
|
||||
"""Representation of a HDMI device as a Switch."""
|
||||
|
||||
def __init__(self, hass: HomeAssistant, device, logical):
|
||||
def __init__(self, hass: HomeAssistant, device, logical) -> None:
|
||||
"""Initialize the HDMI device."""
|
||||
CecDevice.__init__(self, hass, device, logical)
|
||||
self.entity_id = "%s.%s_%s" % (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue