muppet3000 / homeassistant-grott

Home Assistant Integration for Grott - MQTT
MIT License
65 stars 14 forks source link

Checked "Calculate additional values from raw MQTT values" value is ignored when adding integration #17

Open shampeon opened 1 year ago

shampeon commented 1 year ago

When you initially configure the integration, it doesn't respect the option to "Calculate additional values from raw MQTT values".

To reproduce:

  1. In the Integrations panel click Add Integration.
  2. Search for "Grott" then click the Grott integration.
  3. In the configure pane, leave the Device ID blank but check "Calculate additional values from raw MQTT values".
  4. Click Submit.
  5. After the integration is added successfully, click Configure. Note that "Calculate additional values from raw MQTT values" is now unchecked.

I had to go back to Configure and check the box again before the entities were populated in order to get all 53 entities to show up. Otherwise it wouldn't detect the battery sensors, and I'd have 45 entities.

Screen Shot 2023-06-20 at 4 05 29 PM