Skip to content

Commit

Permalink
Fix switch charging state
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Dec 30, 2023
1 parent 384d7d8 commit 056a696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/audiconnect/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
icon="mdi:ev-station",
key="charging_state",
value_fn=lambda x: x != "off",
turn_mode="async_set_batterycharger",
turn_mode="async_set_battery_charger",
translation_key="charging_state",
),
AudiSwitchDescription(
Expand Down

0 comments on commit 056a696

Please sign in to comment.