Open kmavrov opened 5 months ago
fixed this bij adding a line to the vacuum.py file
starting at line 55, i added the minor_version=2,
entry = ConfigEntry(
domain=PLATFORM_NAME,
data=config,
version=2,
minor_version=2,
title=config[CONF_NAME],
source=SOURCE_USER,
)
https://github.com/nergal/homeassistant-vacuum-viomi/blob/47db17c360aa28292cb0f3a099b4f6aa45bef950/custom_components/xiaomi_viomi/vacuum.py#L58
Integration broke since Home Assistant 2024.1.0. Add here an argument
minor_version=0
and it should be good to go.Otherwise it throws
TypeError: ConfigEntry.__init__() missing 1 required keyword-only argument: 'minor_version'