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)
- Preconditioning start with departure time has broken HOT 2
- Charging power unit changed from kW to KW HOT 2
- AUX heater not working in update HOT 9
- AUX heater not working after update HOT 27
- Smart missing after uninstall and reinstall 0.10/0.10.1 HOT 9
- Remote Lock/Unlock failing HOT 2
- Re-authentication failing HOT 5
- AUxHeat not available anymore HOT 2
- Preheating state HOT 5
- How to use the exclusion of cars by FIN/FIN? HOT 7
- New warning after last update - Problem with fences/violations data at Mercedes database HOT 2
- Error when capabilities are not available
- Authentication failed. Please reauthenticate. HOT 22
- When changing charging program, max_state_of_charge doesn't update HOT 3
- Failing to Authenticate on 2024.3 HOT 22
- Minor spelling issue HOT 1
- Other error Cannot write to closing transport HOT 4
- Car is constantly disconnected after last update HOT 4
- Values jump between actual Value and old Value? HOT 5
- Device Tracker no longer showing correctly HOT 6
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.