Skip to content

Commit 90c653c

Browse files
Merge pull request #507 from Tonttu84/fix/auto-power-on-not-applied
fix(panasonic): pass auto_power_on through to the change request builder
2 parents 08f8242 + 48a095c commit 90c653c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/panasonic_cc/panasonic/coordinator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def device_info(self) -> DeviceInfo:
136136

137137
def get_change_request_builder(self) -> ChangeRequestBuilder:
138138
"""Get a change request builder for the current device."""
139-
return ChangeRequestBuilder(self.device)
139+
return self._api_client.new_change_request(self.device)
140140

141141
async def async_apply_changes(self, request_builder: ChangeRequestBuilder) -> None:
142142
"""Apply changes to the device."""

0 commit comments

Comments
 (0)