Closed rubenvanparys closed 5 months ago
Please check the attributes of the range_electric sensor. There you can find some precond-attributes
Hi all,
I'm facing the same "issue" with the separate buttons for enable/disable. Any hint on how I can expose a single switch to HomeKit that reflects the current state of pre-heating and makes it possible to "enable/disable"? Thomas
Hi Thomas,
Please check the mbapi2020 thread in the HA forum. https://community.home-assistant.io/t/mercedes-me-component/41911
I'm sure we discussed a solution based on a template switch
Hi,
thanks for the hint. I checked it and I was not really successful. If I call the service manually to start for instance, nothing happens in the car. Also vice versa, the attributes in the range_electric sensor are not updated, if I switch preconditioning on in MercedesMe app. Something is odd. Interestingly the buttons in the overview to start/stop preconditioning are working fine... Not sure if my changes in configuration.yaml are ok in principle.
` standheizung_glc: value_template: "{{ is_state_attr('sensor.ohv_g513e_range_electric', 'PrecondActive', 'on') }}" turn_on: service: mbapi2020.auxheat_start data: vin: W1N253xxxxxxxxxxxxx turn_off: service: mbapi2020.auxheat_stop data: vin: W1N253xxxxxxxxxxxxx
`
Hi, may I ask you to ask this question in the forum? I'm on vacation the next 4 weeks and have access to my mobile only. I'm sure someone can help, otherwise I will take a look on it when I'm back in June.
The problem
Is it possible to query the preheating state (similarly as the auxiliary heating sensor does)? You can turn it on/off, but it would be useful to get the state from the system.
What version of MBAPI2020 do use?
0.10.1
What was the last working version of MBAPI2020?
No response
What type of installation are you running?
Home Assistant Container
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response