muppet3000 / homeassistant-growatt_server_api

Home Assistant Integration for Growatt - Upstream repo for the growatt_server integration that is part of the Core Home Assistant repository
MIT License
54 stars 7 forks source link

FR - Change values icons #6

Closed Saentist closed 1 year ago

Saentist commented 1 year ago

Because not enabled discussions in repo.

Is it possible to be replaced icons of values https://materialdesignicons.com image image image

muppet3000 commented 1 year ago

Hi @Saentist - I haven't got around to enabling discussions yet. I'll do it in the future. We/I have no say over the icons that are available in Home Assistant, especially on a per-integration basis. Sorry.

Saentist commented 1 year ago

I just wondering is it possible to make some update of code in https://github.com/muppet3000/homeassistant-growatt_server_api/blob/main/custom_components/growatt_server_api/sensor_types/storage.py similar to this https://github.com/lluiscab/MPQTT/blob/master/src/mqtt_discovery.rs

where

    register_sensor(client, cfg, "qpiri", "grid_rating_voltage", "Grid Rating Voltage", Some("V".to_string()), "power-plug").await?;

power-plug is mdi:power-plug etc.

muppet3000 commented 1 year ago

I'll take a look when I next go near the sensor code, thank you for the snippet. Since this is just a cosmetic change it will be lower priority to implement vs bug fixes and missing functionality.

muppet3000 commented 1 year ago

Given the fact that the Growatt API is increasingly unreliable (see #15) I have slowly winding down support for this repo and instead directing people towards trying Grott instead: https://github.com/muppet3000/homeassistant-grott

I'm happy to help people out migrating over to the new method, it's far more reliable and I'm focussing all my efforts into making it the best possible option for everyone (including feeding back changes to the main developer)