Poeschl / Hassio-Addons

The repository for my Home Assistant Supervisor Add-ons.
Apache License 2.0
298 stars 89 forks source link

Update to latest valetudo-mapper #442

Closed gerard33 closed 5 months ago

gerard33 commented 8 months ago

Update to latest valetudo-mapper which contains some fixes for the new Home Assistant MQTT format. It should fix the following warning which gets deprecated in 2024.2 release.

MQTT entity name starts with the device name in your config {'name': 'rockrobo_map', 'unique_id': 'rockrobo_map', 'device': {'manufacturer': 'Roborock', 'name': 'rockrobo', 'identifiers': ['rockrobo'], 'connections': []}, 'topic': 'valetudo/rockrobo/map', 'availability_mode': 'latest', 'payload_not_available': 'offline', 'encoding': 'utf-8', 'qos': 0, 'enabled_by_default': True, 'payload_available': 'online'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes '_map'

gerard33 commented 8 months ago

Changed it to the latest commit. Do you expect any issues when using the latest version on master?

Poeschl commented 8 months ago

When using master, the container content is not fixed. So the same build can produce different outputs on two different dates. Therefore I pin all versions.

gerard33 commented 6 months ago

@Poeschl can you have a look at this PR? The current format gets deprecated in the next Home Assistant release.