Skip to content

Commit ce6d245

Browse files
committed
Remove unused variables from _async_sensor_changed method in XiaomiAirConditioningCompanion class
1 parent c29e06a commit ce6d245

File tree

1 file changed

+0
-2
lines changed
  • custom_components/xiaomi_miio_airconditioningcompanion

1 file changed

+0
-2
lines changed

custom_components/xiaomi_miio_airconditioningcompanion/climate.py

-2
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,6 @@ async def _async_update_power_state(self, state):
299299

300300
async def _async_sensor_changed(self, event):
301301
"""Handle temperature changes."""
302-
entity_id = event.data["entity_id"]
303-
old_state = event.data["old_state"]
304302
new_state = event.data["new_state"]
305303
if new_state is None:
306304
return

0 commit comments

Comments
 (0)