144 Commits
Author SHA1 Message Date
Aalian Khan 0c2649e08e Add additional card image 2025-03-08 08:59:01 -08:00
Aalian Khan e8e0b0c5f1 Add additional card image 2025-03-08 08:39:35 -08:00
Continuous Integration 03b56a5fea Continuous Integration - Build Distribution v2.2.0 2025-03-08 07:29:27 +00:00
Marcoske23andFerry Cools bee8f4b236 Add Spanish translation (#179)
Co-authored-by: Ferry Cools <fcools@digilive.nl>
2025-03-08 08:29:07 +01:00
Continuous Integration 991c913147 Continuous Integration - Build Distribution 2025-03-08 07:26:32 +00:00
Marc d91c8e3159 Add German translation (#176) 2025-03-08 08:26:12 +01:00
Continuous Integration 7dda3c1a38 Continuous Integration - Build Distribution 2025-03-08 07:25:36 +00:00
w531t4andDigiLive d1456426de Add scene domain and associated tap-action (#164)
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>
2025-03-08 08:25:17 +01:00
Continuous Integration c6d475e41f Continuous Integration - Build Distribution 2025-02-09 05:52:44 +00:00
Marc 7f4a6bce89 Fix faulty translation key for covers 2025-02-09 06:52:26 +01:00
Continuous Integration 99d3a3ca31 Continuous Integration - Build Distribution 2025-02-09 05:48:57 +00:00
w531t4 da7d0cd57c Fix counting of hidden entities and devices
Evaluation an entity's hidden property in the strategy options, is now
included in Helper.#areaFilterCallback().
2025-02-09 06:48:38 +01:00
Ferry Cools 9ed17d9a56 Create PULL_REQUEST_TEMPLATE.md
A template for creating pull request which provide better details.
2024-12-18 21:26:49 +01:00
Continuous Integration fffd244370 Continuous Integration - Build Distribution 2024-12-13 06:29:37 +00:00
Ferry Cools ebfd034e20 Fix counting entity states
* 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.
2024-12-13 07:29:15 +01:00
Continuous Integration 9041e0b647 Continuous Integration - Build Distribution 2024-12-13 05:56:51 +00:00
Ferry Cools 2cd4512b4f Add localization
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
2024-12-13 06:56:23 +01:00
Continuous Integration 4b927a7f7b Continuous Integration - Build Distribution 2024-11-29 08:28:08 +00:00
w531t4andDigiLive e927ae6ba5 Add auto import of area icons in home view (#158)
* 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>
2024-11-29 09:27:47 +01:00
Continuous Integration 13c4826f0a Continuous Integration - Build Distribution 2024-11-22 10:50:41 +00:00
w531t4 6f444c5c15 Fix entity card added twice to view (#154)
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.
2024-11-22 11:50:19 +01:00
Continuous Integration 8728dd27f6 Continuous Integration - Build Distribution 2024-11-21 01:06:39 +00:00
Ferry Cools 3bde47d8d7 Bump dependencies (#161)
* Bump webpack version

Versions <5.94.0 are vulnerable to Cross-site Scripting (XSS) via DOM
clobbering in the AutoPublicPathRuntimeModule class.

https://security.snyk.io/package/npm/webpack/5.93.0

* Bump ts-loader version

Versions <9.5.0 have vulnerabilities in their dependencies.

braces: https://github.com/advisories/GHSA-grv7-fg5c-xmjg
cross-spawn: https://github.com/advisories/GHSA-3xgq-45jj-v275
2024-11-20 17:06:18 -08:00
Continuous Integration e10552f326 Continuous Integration - Build Distribution 2024-11-19 02:02:06 +00:00
Aalian Khan d037c31001 bump to 2.2.0 2024-11-18 21:01:43 -05:00
Aalian Khan 09f319a336 Revert "Bump to 2.2.0"
This reverts commit ad8d56374c.
2024-11-18 20:42:56 -05:00
Aalian Khan ad8d56374c Bump to 2.2.0 2024-11-17 21:40:24 -05:00
Continuous Integration 44a20b02dc Continuous Integration - Build Distribution 2024-10-19 10:28:04 +00:00
Wallerand Delevacq dbebfc88d3 Support Select/InputSelect mushroom cards (#151)
Add cards

* Select Card.
* Input Select Card

Contribution by wallforfry
2024-10-19 12:27:42 +02:00
Continuous Integration d7f100df16 Continuous Integration - Build Distribution v2.1.0 2024-02-01 05:57:58 +00:00
Subhash ChandraandDigiLive fba9364106 Add option to hide config-entities (#103).
* 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>
2024-02-01 06:57:39 +01:00
Continuous Integration 2970be7ff3 Continuous Integration - Build Distribution v2.0.3 2024-01-29 01:11:50 +00:00
Ferry Cools ae744bf177 Fix package version (#124)
The version number has been updated from 2.0.0/2.0.2 to 2.0.3 across
multiple files.
2024-01-28 17:11:26 -08:00
Aalian Khan 89be48273f Update package.json v2.0.2 2024-01-26 12:08:01 -08:00
Aalian Khan 1c21040c30 Bump package.json 2024-01-26 12:05:21 -08:00
Continuous Integration b75db4b4f9 Continuous Integration - Build Distribution v2.0.1 2024-01-26 11:41:39 +00:00
NiekertandFerry Cools e174d06957 Fix views not loading when using card_options (#118)
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>
2024-01-26 12:41:17 +01:00
Ferry Cools 6e03f0d211 Add Wiki to README.md (#102)
Adds a link to the Wiki for the help section.
v2.0
2024-01-17 15:57:52 -08:00
Continuous Integration 8785d61fb0 Continuous Integration - Build Distribution 2023-11-22 20:03:24 +00:00
Ferry Cools 82a91c3bd4 Refactor JavaScript to TypeScript (#81)
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.
2023-11-22 21:02:56 +01:00
Kevin Gottsman c8a9cd5618 Add "home" as an available view (#94) 2023-11-17 06:37:27 +01:00
Continuous Integration 0153166b20 Continuous Integration - Build Distribution 2023-11-15 19:34:57 +00:00
Julian Schill bf69335a4e Add color temperature button to light card (#93) 2023-11-15 20:34:36 +01:00
Ferry Cools c1d65587e8 Update .editorconfig (#72)
Correct some JavaScript settings.
2023-11-08 06:08:26 +01:00
Continuous Integration 595eb6701c Continuous Integration - Build Distribution 2023-10-31 13:41:58 +00:00
Johan Frick f76a596572 Add Mushroom Number Card (#79)
A Mushroom Number Card for number and input_number entities.
2023-10-31 14:41:37 +01:00
Johan Frick ccf10f716c Fix Home View Options documentation (#80)
The code for hiding sections in the home view is case sensitive, so none of the options in the README worked.
Also, the option for the areas title was missing an 's'.
2023-10-29 23:45:03 +01:00
Continuous Integration 0a0819f7d2 Continuous Integration - Build Distribution 2023-10-23 09:51:22 +00:00
Ferry CoolsandJohan Frick d8274b1272 Add possibility to hide home elements
Elements of the home view can be hidden by listing them at the strategy
options:

```YAML
strategy:
  type: custom:mushroom-strategy
  options:
    homeView:
      hidden:
        - Greeting
        - AreaTitle
views: []
```
---------

Co-authored-by: Johan Frick <johan.frick@gmail.com>
2023-10-23 11:51:02 +02:00
Continuous Integration 6922dd4d0f Continuous Integration - Build Distribution 2023-10-15 16:35:49 +00:00