Skip to content

Commit

Permalink
script\inovelli_blue_led_zigbee2mqtt: refactor and fixes
Browse files Browse the repository at this point in the history
- Add target selector
  - Choose multiple areas, devices, and/or entities
  - The entity_id field still works
- Default values changed
  - Effect - "Slow Blink" > "Clear"
  - Color - "Yellow" > "Red"
- Fix the LED number
  - Zigbee2MQTT expects 0-6, not 1-7
  - All is now -1 (was 0)
- Allow direct value for effect, using the friendly name is no longer required
- Force lowercase on the conversion of fields and parameters
- Allow 100 parallel runs (was 10)
- Update Debug info
  - Overall info: entity list, entity count, led, color, level, effect, duration
  - Each entity: entity, device name, topic, payload
  - Warning: Debug mode will create a persistent message for every entity called in the script!
  • Loading branch information
zanix committed Nov 21, 2022
1 parent a07f3b6 commit 5d14728
Show file tree
Hide file tree
Showing 2 changed files with 340 additions and 154 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

| zanix/home-assistant-blueprints | Home Assistant Community |
| :---: | :---: |
| [![Github Linter Status][github-linter-status-shield]][github-linter-status] [![Last Commit][github-last-commit]][github-master] [![GitHub Activity][commits-shield]][commits] [![Lines of Code][code-lines-shield]][code-link] | [![Home Assistant Community Forum][forum-shield]][forum] [![Discord][discord-shield]][discord] |
| [![Github Linter Status][github-linter-status-shield]][github-linter-status] [![Lines of Code][code-lines-shield]][code-link] | [![Home Assistant Community Forum][forum-shield]][forum] |
| [![Last Commit][github-last-commit]][github-master] [![GitHub Activity][commits-shield]][commits] | [![Discord][discord-shield]][discord] |

## Current Blueprints

Expand Down
Loading

0 comments on commit 5d14728

Please sign in to comment.