Commit Graph
116 Commits
Author SHA1 Message Date
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
Adrien BraultandDigiLive c7b2040b52 Reformat README.md (#69)
Also fixes a spelling error.

---------

Co-authored-by: DigiLive <github@digilive.nl>
2023-10-15 18:35:28 +02:00
Ferry Cools fb8190aa82 Update mushroom-strategy.js (#68)
Added a comment to test the CI workflow.
2023-10-14 23:00:22 +02:00
Johan FrickandDigiLive 98ef9fed05 Add options for all areas (#52)
Area identifier `_` sets the options for all areas.
Options for a specific area can still be overridden like before.

Also the HA area-card is added to use as a strategy area-card.

---------

Co-authored-by: DigiLive <info@digilive.nl>
2023-10-13 08:12:11 +02:00
Ferry Cools 8311fa240c Add CI - Build Distribution (#66)
Adds a GitHub workflow to build distribution files
on:

* Merging a pull request into the `main` branch.
* Making a direct commit to the `main` branch.

Also adds guidelines for contributors.
2023-10-13 08:00:12 +02:00
Aalian Khan e6cefd0dda Merge pull request #63 from AalianKhan/60-no-home-view
Fix Home view not loading because of lack of weather entity
v1.0.1
2023-09-25 22:05:33 -04:00
Aalian Khan 8f4fce7d54 Fix Home view not loading because of lack of weather entity 2023-09-25 22:04:57 -04:00
Aalian Khan f8f4cb194f Merge pull request #57 from AalianKhan/56-2-title-cards-in-pre-built-views
Fix 2 Title cards in pre-built views
v1.0.0
2023-09-19 12:45:41 -04:00
DigiLive 629dfa610d Fix 2 Title cards in pre-built views
Closes #56
2023-09-19 18:36:43 +02:00
Aalian Khan 7a763a18a9 Merge pull request #55 from AalianKhan/Update-documentation
Update documentation
2023-09-19 11:48:27 -04:00
Aalian Khan 69261540f2 Update documentation 2023-09-19 11:48:11 -04:00
Aalian Khan 6b140cf80a Merge pull request #51 from AalianKhan/hide-devices
Add option to hide all entities of a device.
2023-09-19 11:04:56 -04:00
Aalian Khan 41c24a62d3 Update branch for merging 2023-09-19 11:04:31 -04:00
Aalian Khan 3bbbdad035 Merge branch 'main' of https://github.com/AalianKhan/mushroom-strategy into hide-devices 2023-09-19 11:03:45 -04:00
Aalian Khan 8a800a7c27 Merge pull request #50 from AalianKhan/Fix-area-title-position
Fix area title position
2023-09-19 10:59:26 -04:00
Aalian Khan 3063776a5f Refactor grouped cards 2023-09-19 10:47:35 -04:00
DigiLive cdb4a086f2 Reformat README.md 2023-09-19 16:23:15 +02:00
Aalian Khan 3f76219715 Document how to hide device 2023-09-14 16:10:11 -04:00
Aalian Khan 7ab85afb85 Refactor to look at card_options instead 2023-09-14 15:58:59 -04:00
Aalian Khan 01c6205c02 Add option to hide all entities of a device.
#48
2023-09-14 15:40:37 -04:00
Aalian Khan 14f514fffe Fix area title position
put the area title card inside the vertical stack so everything matches up in the desktop view.
2023-09-13 19:20:41 -04:00
Aalian Khan 633e548531 Merge pull request #47 from AalianKhan/hide-default-domain
Fix hiding default domain
2023-09-12 07:34:31 -04:00
Aalian Khan 0d3b0a9089 Refactor bug fix 2023-09-11 11:33:46 -04:00
Aalian Khan 178a2fe003 Fix hiding default domain
this solution works, but it uses another variable. If you have a better idea, please feel free to share
2023-09-09 19:05:59 -04:00
Aalian Khan d2a582744c Merge pull request #43 from AalianKhan/lock-card
Fix lock icon by adding lock domain and default domain bug
2023-09-09 16:55:15 -04:00
Aalian Khan 703bd20bf2 Fix typdef.js for LockCardOptions 2023-09-07 16:39:46 -04:00
Aalian Khan df0f2b5568 Add LockCardOptions to typedef.js 2023-09-06 16:22:02 -04:00
Aalian Khan 3c28cadcbf Update README.md 2023-09-05 19:29:19 -04:00
Aalian Khan aad52cdadb Mark bug 2023-09-05 19:17:34 -04:00