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

fix: L4 local push updates are ignored #47

Merged
merged 1 commit into from
Oct 5, 2022
Merged
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/wibeee/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def __init__(self, device, sensor_phase: str, sensor_type: SensorType, initial_v
self._attr_device_info = _make_device_info(device, sensor_phase)
self.entity_id = f"sensor.{entity_id}" # we don't want this derived from the name
self.status_xml_param = f"fase{sensor_phase}_{sensor_type.status_xml_suffix}"
self.nest_push_param = f"{sensor_type.nest_push_prefix}{sensor_phase}"
self.nest_push_param = f"{sensor_type.nest_push_prefix}{'t' if sensor_phase is '4' else sensor_phase}"

@callback
def update_value(self, value, update_source='') -> None:
Expand Down