davidrapan / ha-solarman

⚡ Solarman Stick Logger integration for 🏠 Home Assistant
MIT License
110 stars 25 forks source link

Configuring an existing device causes sensor naming issue #28

Closed gedger closed 4 months ago

gedger commented 4 months ago

If you configure an existing device the prefix name is not shown in the dialogue window. On pressing submit all sensors are renamed with the "None" prefix.

Screenshot 2024-07-22 at 17 34 17 Screenshot 2024-07-22 at 17 34 37
davidrapan commented 4 months ago

Yes I noticed that too today. ConfigFlow and OptionsFlow still works (for me) in a mysterious ways. Common sense says that name should not be there as it's updateable from menu under those dots but I guess I'll put it back.

Thanks!

davidrapan commented 4 months ago

3808a54

gedger commented 4 months ago

Fixed although as you say it does make more sense to hide the name and use the rename function from the ... menu.

davidrapan commented 4 months ago

Yep exactly, will see in the future if I found out how it's supposed to work. Development documentation for HA is I don't wanna say bad, it's okay. But it has some holes here and there...

Cheers!