-
-
Notifications
You must be signed in to change notification settings - Fork 683
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
Android Switch Widget can't deal with off
as hvac value, value gets "converted" to false
#3715
Comments
can you please get us the companion app logs when you save the widget and tap on it? it contains the service data we send so its good to look at what the app is trying. |
Hi, [homeassistant_companion_log_6 scrcpy_s9vSwGo8PH.mp4-26-2023_18-30-0.txt](https://github.com/home-assistant/android/files/12175050/homeassistant_companion_log_6-26-2023_18-30-0.txt) If I can help or do any assistance, please let me know. |
This appears to be 'intentional': Line 212 in d9db8a0
Edit: to properly fix this the app would really need to support a selector and it's values, which is what is used here: |
right, seems to be some general conversion. domain: climate
entity_id: climate.pool_heizung
type: set_hvac_mode
hvac_mode: "off" This works. |
Same issue with "climate.set_fan_mode" and the "Fan Mode" parameter. "on" is converted to "true" which isn't a valid value by the Ecobee integration. Off has the same problem but Ecobee uses "auto" in that case so it doesn't matter as much. |
Home Assistant Android app version(s):
2023.7.5-full
Android version(s):
13 (5. July 2023)
Device model(s):
Pixel 7 pro
Home Assistant version:
2023.5.4
Last working Home Assistant release (if known):
Description of problem, include YAML if issue is related to notifications:
Hvac Mode: off
chaged toHvac Mode: false
Additional information:
I also tried
'off'
and"off"
, those are not "converted" tofalse
, but still the switch does not work.If I set
heat
as mode it works as expeted, but I'm not able to setoff
which changed tofalse
on saving the widget.The text was updated successfully, but these errors were encountered: