Comments (5)
hi @danielrheinbay ,
I have added the services into the master branch. Please check the services.
Could you share the attributes and values that you get, please. I need this for the docs.
from mbapi2020.
Thanks for testing, @danielrheinbay
I have removed the outlet device_class from the switch again.
I will take a look on the climate component, but with lower Prio.
from mbapi2020.
Thanks Daniel, I’ll merge your PR later today. Currently, only the preheat and not the aux_heat services are implemented. Are you willing to test if I implement the auxheat services on on a special branch? If this works then the switch is simple.
from mbapi2020.
Thank you for clarifying, @ReneNulschDE. Absolutely willing to test :)
from mbapi2020.
...and you've even implemented the switch in fb54579 -- thank you so much!
I have tested the switch and it works for me. It can turn the aux heat on and off.
sensor.<car name>_auxheat_status
has these attributes:
car:
vin:
value_short: inactive
value_description: inactive
retrievalstatus: VALID
timestamp: '2021-01-31T10:08:48'
auxheattime1: '14:15' (i.e. I've set this some days ago)
auxheattimeselection: '0' (i.e. the time selection isn't actually active, as it was used a few days ago)
auxheattime3: '00:00'
auxheatActive: false
auxheatwarnings: '0'
auxheattime2: '00:00'
friendly_name: Auxheat Status
icon: 'mdi:radiator'
switch.<car name>_auxheat
has these attributes:
car:
vin:
retrievalstatus: VALID
timestamp: '2021-01-31T10:08:55'
friendly_name: AuxHeat
device_class: outlet
The last attribute, device_class, got me thinking: For now, switching the aux heat on and off works, which is awesome. However, Home Assistant sees the aux heat as an electrical outlet. Unfortunately, switches don't support the device_class
attribute. So may be at some point we can implement a Climate component instead, see https://www.home-assistant.io/integrations/climate/ and https://developers.home-assistant.io/docs/core/entity/climate/ for details. Maybe this would allow for abstraction of auxheat and preconditioning...? What are your thoughts, @ReneNulschDE?
from mbapi2020.
Related Issues (20)
- Logs being filled with connecting to Mercedes, connected too Mercedes messages HOT 2
- shouldn't odometer sensor have state_class total_increasing instead of measurement? HOT 2
- Remove spikes HOT 3
- authentication is failing since update to 0.13.0 HOT 2
- Detected blocking call to open inside the event loop HOT 2
- Calling the configure max soc service switches the charging program to standard HOT 11
- "Task exception was never retrieved" on HA 2024.5.5 HOT 4
- Not able to set up the integration HOT 11
- Error requesting: https://bff.emea-prod.mobilesdk.mercedes-benz.com/v2/vehicles - 418 - 0 - HOT 1
- Service window_open - missing field PIN HOT 1
- Missing entities HOT 3
- Webapi change HOT 3
- async_forward_entry_setup after the entry for integration
- "Endofchargetime" Sensor
- Create sensor tirewarningsrdk
- Geographic violation issue HOT 7
- W206 - AMG C43 (2024) HOT 5
- Device Tracker HOT 2
- coordinates of tracker are incorrect HOT 3
- MercedesMe 2020 App not loading in HA HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbapi2020.