Commit Graph
71 Commits
Author SHA1 Message Date
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
Aalian Khan 1025201e2b Fix lock icon by adding lock domain
Fixes #41
2023-09-05 18:57:19 -04:00
Aalian Khan 59f74303ea Merge pull request #39 from AalianKhan/camera-fix
Fix camera cards to use picture entity by default
2023-08-15 10:22:03 -04:00
Aalian Khan 0f4f7045ed Update README.md 2023-08-15 10:21:30 -04:00
Ferry Cools a6b2499a7b Merge branch 'main' into camera-fix 2023-08-15 15:28:27 +02:00
Aalian Khan e2889add02 Fix camera cards to use picture entity 2023-08-14 14:56:03 -04:00
Aalian Khan ef261fddbc Merge pull request #36 from AalianKhan/Add-version-request-to-bug-report
Add version request to bug report
2023-08-14 13:24:13 -04:00
Ferry Cools 4515291050 Add version request
Add requesting versions of mushroom strategies and dependencies.
2023-07-30 15:24:54 +02:00
Ferry Cools 140aec854b Add options to configure entity-cards (#31)
* Add options to configure entity-cards

Closes #10.
- Option to set the type of entity card.
- Option to hide an entity card from the dashboard.

* Add hiding title cards

When all entity cards are hidden for an area or domain, the
corresponding title cards will be hidden also.

* Fix Climate Chip navigation

Closes #33

* Build production distribution
1.0.0-alpha.2
2023-07-19 15:07:55 +02:00
Aalian Khan 5bded12e70 Add option to hide person cards
Now you should be able to hide person entities from the home page.
2023-06-25 23:19:20 -04:00
Aalian Khan e038bc64fd Merge pull request #29 from AalianKhan/Add-pre-releases
Add pre-releases to release badge
2023-06-25 21:33:14 -04:00
Ferry Cools 2d104428e4 Add pre-releases to release badge 2023-06-24 10:19:43 +02:00
Ferry Cools d5066303f3 Code Cleanup (#7)
Refactor the code base from Procedural to Object-Oriented Programming.

The new code base requires webpack (https://webpack.js.org/) to bundle the code into a single javascript file.
Webpack can be installed with npm, using file `package-lock.json` or `package.json`.

File `package.json` contains two script entries:

* `build` for a *release* build (uses file`webpack.config.js`).
* `build-dev` for a *debug* build (uses file `webpack.dev.config.js`).

Both of the scripts will bundle the separate package files into a single javascript file in the `dist` directory.

Includes fixes and changes:

* The release badge in readme now displays the latest release version.
* Optimize function `getStateEntities()`.
* Implement #11.
* Merge Home Assistant and User-defined areas.
* Add contributors to readme.
* Fix getCountTemplate method.  
  The method only counted states which aren't equal to value `off`.
  States are now counted by specifying a comparison operator and value.
* Document default HACS installation.
* Fix overriding sensor card configuration.  
  Having an `entity_config` property in the strategy options resulted in overriding each sensor card.
  Only the cards listed under this property should be overridden.
* Cut redundant properties and constants  
  Method `generateDashboard()` passes redundant values to generateView().
  Writing those values into properties and reading them into constants is removed.
* Fix undefined sensorState.  
  Not all entities (like a RESTful sensor) are bound to a device.
  SensorStates did contain states which meet all following conditions:
    1. The linked entity is linked to the given area or isn't linked to any area.
    2. The linked device is linked to the given area.

  SensorStates now contains states which meet any* of the following conditions:

    1. The linked entity is linked to the given area or isn't linked to any area.
    2. The entity is linked to a device, and the linked device is linked to the given area.
       *) Whichever comes first.
* Add undisclosed area.
* Add ordering of area-cards.  
  Area cards are now ordered by a custom set position first and then by the area name.
* Add global sorting of entities by original_name.
* Add global sorting of areas by order and name.
* Add global sorting of domains by order and title.
* Make production build.

Known Issue: Title cards or chips won't switch entities assigned to the undisclosed area.
1.0.0-alpha.1
2023-06-14 07:29:18 +02:00
Aalian Khan de70fddddd Merge pull request #22 from nwithan8/patch-1
Fix invalid example
2023-05-28 15:13:30 -04:00
Nate Harris 6d8a02b2a9 Fix invalid example 2023-05-20 04:19:39 -06:00
Aalian Khan 54b2fd4789 Add labels to issue templates 2023-04-10 16:21:50 -04:00
Aalian Khan d53e546d68 Add issue templates 2023-04-10 16:18:45 -04:00
Aalian Khan 7ee82546f5 Document examples to be more readable. 2023-04-10 16:06:36 -04:00
Aalian Khan 8cb96c2c98 Update README.md 2023-04-04 12:46:59 -04:00
Aalian Khan c46be67559 Add files via upload 2023-04-04 12:39:52 -04:00
Aalian Khan 5d94853fa9 Add files via upload 2023-04-04 12:37:59 -04:00
Aalian Khan 44ae5f369b typo 2023-04-04 12:24:37 -04:00
Aalian Khan 87fea11754 Update README.md 0.15 2023-04-04 03:10:10 -04:00
Aalian Khan 018caa10e6 Update mushroom-strategy.js 2023-04-04 03:05:46 -04:00
Aalian Khan c0b6c62af1 Merge pull request #6 from AalianKhan/AalianKhan-patch-1
Added fix for weather entity error
0.14
2023-04-04 02:34:17 -04:00
Aalian Khan 3abee80090 add condition 2023-04-04 02:33:17 -04:00
Aalian Khan 870165951c update docs for weather config 2023-04-04 02:26:33 -04:00
Aalian Khan 841180e5ef Added fix for weather entity error 2023-04-04 02:07:31 -04:00
Aalian Khan 51e0c7ea25 Merge pull request #4 from AalianKhan/AalianKhan-patch-3
Fix bugs
0.13
2023-03-31 15:41:43 -04:00
Aalian Khan 046bc60d99 Fix bugs
Fix sensor duplication and made cover count more accurate
2023-03-31 15:41:29 -04:00
Aalian Khan d0c96ba386 Merge pull request #3 from AalianKhan/AalianKhan-patch-2
Fixed bug for template not working with entities that start with numbers
0.12
2023-03-31 11:55:58 -04:00
Aalian Khan ae259021cc Fixed bug for template not working with entities that start with numbers 2023-03-31 11:54:44 -04:00
Aalian Khan 5f9b9286cb Merge pull request #1 from AalianKhan/AalianKhan-patch-1
Fix bug where multiple entries in entity_config creates duplicates
0.11
2023-03-28 15:11:50 -04:00
Aalian Khan e8b065ea4e Fix bug where multiple entries in entity_config creates duplicates 2023-03-28 15:10:05 -04:00
Aalian Khan 3a5b2a1e5d Update README.md 0.1 2023-03-28 13:09:59 -04:00
Aalian Khan d5d7719bd0 Update README.md 2023-03-28 12:55:49 -04:00
Aalian Khan 0927e7d16d Add files via upload 2023-03-28 12:55:19 -04:00
Aalian Khan 2b3c8895e4 Update README.md 2023-03-28 11:48:02 -04:00
Aalian Khan 3dd827ea72 Update README.md 2023-03-28 11:42:06 -04:00
Aalian Khan 819c66f265 Update README.md 2023-03-28 01:56:30 -04:00
Aalian Khan 6523ef3bc0 Update README.md 2023-03-28 01:49:40 -04:00
Aalian Khan b0eb25f66a Update README.md 2023-03-28 01:48:41 -04:00
Aalian Khan bc37d17468 Add files via upload 2023-03-28 01:46:21 -04:00
Aalian Khan 287b6b4198 Update README.md 2023-03-28 01:45:17 -04:00
Aalian Khan 100c8098f1 Update README.md 2023-03-28 01:40:59 -04:00
Aalian Khan 8816191c25 Finish wiki 2023-03-28 01:23:26 -04:00