Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Fix reset_heating_power service #1119

Merged
merged 1 commit into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading