Skip to content

Commit

Permalink
[TASK] Fix reset_heating_power service
Browse files Browse the repository at this point in the history
Fixes #939
  • Loading branch information
CoRfr committed Nov 2, 2023
1 parent f5eabfd commit 2784345
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/better_thermostat/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async def async_service_handler(self, data: ServiceCall):
elif data.service == SERVICE_SET_TEMP_TARGET_TEMPERATURE:
await self.set_temp_temperature(data.data[ATTR_TEMPERATURE])
elif data.service == SERVICE_RESET_HEATING_POWER:
await self.reset_heating_power
await self.reset_heating_power()

platform = entity_platform.async_get_current_platform()
platform.async_register_entity_service(
Expand Down
2 changes: 1 addition & 1 deletion custom_components/better_thermostat/utils/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def load_adapter(self, integration, entity_id, get_name=False):
package="better_thermostat",
)
_LOGGER.info(
"better_thermostat %s: intigration: %s isn't native supported, feel free to open an issue, fallback adapter %s",
"better_thermostat %s: integration: %s isn't native supported, feel free to open an issue, fallback adapter %s",
self.name,
integration,
"generic",
Expand Down

0 comments on commit 2784345

Please sign in to comment.