Simonz82 / ha_garbage

Garbage card for home assistant
11 stars 0 forks source link

suggetion improvement #1

Open pilot1981 opened 3 weeks ago

pilot1981 commented 3 weeks ago

Hi, good job!

Hi, I can suggest to you do move sensor to a new package?

not create a new sensor in sensor.yaml file!

You can add it in a new file ha_garbage.yaml in /config/package/ directory; you can do it adding these lines in top of the new file:

homeassistant: ############ HA_GARBAGE SENSORE ########################################################## sensor:

I can also suggest to rename directory in www to ha_garbage, so you can remeber this directory is used from ha_garbage...

this could be sueful for who use many packages: associations 1 directory of ww with 1 package file!

Simonz82 commented 3 weeks ago

ok thanks, unfortunately I am not a programmer, so I am not very experienced, I try to build cards with the information I understand through the various communities etc.

pilot1981 commented 3 weeks ago

so simple...you don't need to have developer skills!

You only have to organaize ti as a package for HA.

I suppose you are italian boy, please read it:

https://indomus.it/formazione/i-package-di-home-assistant-cosa-sono-e-come-si-installano/