Add button to trigger ota firmware update for Shelly devices (#58757)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
This commit is contained in:
parent
ea102f71a6
commit
296b738740
6 changed files with 270 additions and 3 deletions
|
@ -74,6 +74,7 @@ async def async_setup_rpc_entry(
|
|||
) -> None:
|
||||
"""Set up entities for RPC device."""
|
||||
wrapper = hass.data[DOMAIN][DATA_CONFIG_ENTRY][config_entry.entry_id][RPC]
|
||||
|
||||
switch_key_ids = get_rpc_key_ids(wrapper.device.status, "switch")
|
||||
|
||||
switch_ids = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue