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>
The logic to check whether an entity is hidden has been changed.
Instead of checking the `entity_id` field which is always undefined, the
updated logic now dynamically references the `entity.entity_id` within
the card options of the strategy options.
---------
Co-authored-by: Ferry Cools <fcools@digilive.nl>
Other changes include:
* Add Vacuum Card and View.
* Add hiding a view if no device is configured for it. Closes#24.
* Add icon to HomeView configuration.
* Add version output to console.
* Add version bumper.
* Add .editorconfig settings.
* Refactor README, because the information moved to the repository's
Wiki. Closes#87.