tlskinneriv / awnet_local

Enables local support for Ambient Weather personal weather stations.
27 stars 5 forks source link

Activate has_entity_name #14

Closed mkmer closed 1 year ago

mkmer commented 1 year ago

The "new" standard is to have self._attr_has_entity_name = True. (Required for new integrations) Then HA creates the entity names from "device name" + "entity name". This change should keep the names the same as before but follow the new "standard".

Also a bit of "black" reformatting (sorry about that - it's automatic). The "real" change is the lines 146-147