The type definitions and interfaces of Home Assistant and Mushroom where
outdated. Also, the type definitions and interfaces of the strategy
could use some refinement.
Config and diagnostic entities are now hidden by default.
Their visibility can be defined in the configuration with entries
`hide_config_entities` and `hide_diagnostic_entities` for all or individual domains.
Scenes are added as a domain so they're available at the top navigation
bar.
The view doesn't have controller cards since switching multiple scenes
at once makes no sense.
---------
Co-authored-by: DigiLive <github@digilive.nl>
* Add state filters to getCountTemplate()
States `unavailable` and `unknown` are now excluded from the return
value of `getCountTemplate()`, since there's no interest in counting
those states. This change affect all entities.
* Add states to unclosed cover count
Aside from state `open`, the cover-chip and -view, will include state
`opening` and `closing` to the count of unclosed covers.
Fixed dashboard strings are replaced with a string in the language as
defined by the user.
Currently, languages `en` and `nl` are supported.
If the user-defined language isn't supported, the language will fall
back to english.
Untranslated strings will fall back to the translation keyword.
Resolves#166
* Changed the default icon for an area.
* Add auto import of area icons in home view (Closes#147).
The default icon is overwritten at the constructor, if a user-defined icon is set in hass.
---------
Co-authored-by: DigiLive <github@digilive.nl>
If not using the area of the entity's device, a card for this entity is
added for the custom set area, as well as for the area of the entity's
device.
This change keeps the entity for the custom-set area or else for the
area of the entity's device.
* Introduces a `hide_config_entities` strategy-option to define if a
config-entity should be hidden or not.
* Bumps version number to 2.1.0
---------
Co-authored-by: DigiLive <github@digilive.nl>