Is there an existing issue for this?
What happened?
In Home Assistant while using the auto discovery (MQTT Discovery (automatic configuration)) via the docs, I notice several sensors are not created. MQTT has the entries, but the sensors are not in the config
teslamate/cars/1/tpms_soft_warning_fl
teslamate/cars/1/tpms_soft_warning_fr
teslamate/cars/1/tpms_soft_warning_rl
teslamate/cars/1/tpms_soft_warning_rr
teslamate/cars/1/charge_current_request
teslamate/cars/1/charge_current_request_max
These were the ones I had noticed as missing
Also to note, the TPMS look to have some duplicated sensors
I see
homeassistant/sensor/teslamate_1/tpms_pressure_fl
and
homeassistant/sensor/teslamate_1/tpms_pressure_fl_psi
In Home Assistant, you are able to set the Unit of Measurement in the Entity settings. So those that want to see it as bar or psi can make it whichever way they prefer.
Expected Behavior
HA MQTT auto discovery, should create the entities per the expected topics and values from MQTT
Can the issue reliably be reproduced?
Yes
Steps To Reproduce the issue
- Setup the Teslamate env with notes from https://docs.teslamate.org/docs/integrations/home_assistant/#mqtt-discovery-automatic-configuration
MQTT_HOME_ASSISTANT_DISCOVERY=true
- In Home Assistant add the MQTT as an integration or reload the integration from the page
- View the entities created for the vehicle
Relevant log output
Screenshots
Additional data
No response
Type of installation
Docker (https://docs.teslamate.org/docs/installation/docker/)
Version
v4.1.1
PostgreSQL version
No response
Are you running latest major supported PostgreSQL version?
Are you using a reverse Proxy for TeslaMate?
No
Details about your reverse Proxy if applicable
No response
Is there an existing issue for this?
What happened?
In Home Assistant while using the auto discovery (MQTT Discovery (automatic configuration)) via the docs, I notice several sensors are not created. MQTT has the entries, but the sensors are not in the config
teslamate/cars/1/tpms_soft_warning_fl
teslamate/cars/1/tpms_soft_warning_fr
teslamate/cars/1/tpms_soft_warning_rl
teslamate/cars/1/tpms_soft_warning_rr
teslamate/cars/1/charge_current_request
teslamate/cars/1/charge_current_request_max
These were the ones I had noticed as missing
Also to note, the TPMS look to have some duplicated sensors
I see
homeassistant/sensor/teslamate_1/tpms_pressure_fl
and
homeassistant/sensor/teslamate_1/tpms_pressure_fl_psi
In Home Assistant, you are able to set the Unit of Measurement in the Entity settings. So those that want to see it as bar or psi can make it whichever way they prefer.
Expected Behavior
HA MQTT auto discovery, should create the entities per the expected topics and values from MQTT
Can the issue reliably be reproduced?
Yes
Steps To Reproduce the issue
MQTT_HOME_ASSISTANT_DISCOVERY=true
Relevant log output
Screenshots
Additional data
No response
Type of installation
Docker (https://docs.teslamate.org/docs/installation/docker/)
Version
v4.1.1
PostgreSQL version
No response
Are you running latest major supported PostgreSQL version?
Are you using a reverse Proxy for TeslaMate?
No
Details about your reverse Proxy if applicable
No response