mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix Export Rule Select Entity in Tessie (#146203)
Fix TessieExportRuleSelectEntity
This commit is contained in:
parent
3a27143012
commit
6ef77f8243
@ -168,6 +168,8 @@ class TessieExportRuleSelectEntity(TessieEnergyEntity, SelectEntity):
|
||||
|
||||
async def async_select_option(self, option: str) -> None:
|
||||
"""Change the selected option."""
|
||||
await handle_command(self.api.grid_import_export(option))
|
||||
await handle_command(
|
||||
self.api.grid_import_export(customer_preferred_export_rule=option)
|
||||
)
|
||||
self._attr_current_option = option
|
||||
self.async_write_ha_state()
|
||||
|
Loading…
x
Reference in New Issue
Block a user