├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── hacs.yaml │ ├── hassfest.yaml │ └── inactive_issues.yaml ├── .gitignore ├── LICENSE ├── README.md ├── custom_components └── switch_manager │ ├── __init__.py │ ├── assets │ └── switch_manager_panel.js │ ├── blueprints │ ├── bthome-shelly-blu-button1.png │ ├── bthome-shelly-blu-button1.yaml │ ├── bthome-shelly-blu-rc-button4.png │ ├── bthome-shelly-blu-rc-button4.yaml │ ├── deconz-aqara-opple-1x2.png │ ├── deconz-aqara-opple-1x2.yaml │ ├── deconz-aqara-opple-2x2.png │ ├── deconz-aqara-opple-2x2.yaml │ ├── deconz-aqara-opple-3x2.png │ ├── deconz-aqara-opple-3x2.yaml │ ├── deconz-aqara-wireless-mini-switch.png │ ├── deconz-aqara-wireless-mini-switch.yaml │ ├── deconz-ikea-e1743.png │ ├── deconz-ikea-e1743.yaml │ ├── deconz-ikea-e1744.png │ ├── deconz-ikea-e1744.yaml │ ├── deconz-ikea-e2201.png │ ├── deconz-ikea-e2201.yaml │ ├── deconz-ikea-styrbar-v1.png │ ├── deconz-ikea-styrbar-v1.yaml │ ├── deconz-ikea-tradfri-remote.png │ ├── deconz-ikea-tradfri-remote.yaml │ ├── deconz-ikea-tradfri-shortcut-v1.png │ ├── deconz-ikea-tradfri-shortcut-v1.yaml │ ├── deconz-philips-hue-dimmer.png │ ├── deconz-philips-hue-dimmer.yaml │ ├── deconz-tuya-scene-switch.png │ ├── deconz-tuya-scene-switch.yaml │ ├── deconz-tuya-smart-button.png │ ├── deconz-tuya-smart-button.yaml │ ├── google-nest-doorbell.png │ ├── google-nest-doorbell.yaml │ ├── homematic-2-buttons.png │ ├── homematic-2-buttons.yaml │ ├── homematic-6-buttons.png │ ├── homematic-6-buttons.yaml │ ├── homematic-8-buttons.png │ ├── homematic-8-buttons.yaml │ ├── lutron-pj2-3brl-pico.png │ ├── lutron-pj2-3brl-pico.yaml │ ├── lutron-pj2-4b-pico.png │ ├── lutron-pj2-4b-pico.yaml │ ├── philips-hue-dimmer.png │ ├── philips-hue-dimmer.yaml │ ├── philips-hue-senic-fohs.png │ ├── philips-hue-senic-fohs.yaml │ ├── philips-hue-tap-dial.png │ ├── philips-hue-tap-dial.yaml │ ├── philips-hue-tap.png │ ├── philips-hue-tap.yaml │ ├── philips-hue-wall-switch-module-double.png │ ├── philips-hue-wall-switch-module-double.yaml │ ├── philips-hue-wall-switch-module-single.png │ ├── philips-hue-wall-switch-module-single.yaml │ ├── shelly-button1.png │ ├── shelly-button1.yaml │ ├── shelly-shelly1-buttonmodule.png │ ├── shelly-shelly1-buttonmodule.yaml │ ├── shelly-shelly1-switchmodule.png │ ├── shelly-shelly1-switchmodule.yaml │ ├── shelly-shelly1pmmini-button.png │ ├── shelly-shelly1pmmini-button.yaml │ ├── shelly-shelly25.png │ ├── shelly-shelly25.yaml │ ├── shelly-shellyplus2pm.png │ ├── shelly-shellyplus2pm.yaml │ ├── shelly-wall-switch-1.png │ ├── shelly-wall-switch-1.yaml │ ├── shelly-wall-switch-2.png │ ├── shelly-wall-switch-2.yaml │ ├── shelly-wall-switch-4.png │ ├── shelly-wall-switch-4.yaml │ ├── tasmota-1-button-switch.png │ ├── tasmota-1-button-switch.yaml │ ├── tasmota-2-button-switch.png │ ├── tasmota-2-button-switch.yaml │ ├── tasmota-3-button-switch.png │ ├── tasmota-3-button-switch.yaml │ ├── tasmota-4-button-switch.png │ ├── tasmota-4-button-switch.yaml │ ├── zha-aqara-1-gang-remote.yaml │ ├── zha-aqara-2-gang-remote.yaml │ ├── zha-aqara-d1-1-gang-switch.png │ ├── zha-aqara-d1-1-gang-switch.yaml │ ├── zha-aqara-d1-2-gang-switch.png │ ├── zha-aqara-d1-2-gang-switch.yaml │ ├── zha-aqara-double-rocker-switch.png │ ├── zha-aqara-double-rocker-switch.yaml │ ├── zha-aqara-e1-wireless-mini-switch.png │ ├── zha-aqara-e1-wireless-mini-switch.yaml │ ├── zha-aqara-h1-rotary-dimmer.png │ ├── zha-aqara-h1-rotary-dimmer.yaml │ ├── zha-aqara-wireless-mini-switch.png │ ├── zha-aqara-wireless-mini-switch.yaml │ ├── zha-ers-10tzbvk-aa-event.png │ ├── zha-ers-10tzbvk-aa-event.yaml │ ├── zha-ikea-e1743.png │ ├── zha-ikea-e1743.yaml │ ├── zha-ikea-e1744.png │ ├── zha-ikea-e1744.yaml │ ├── zha-ikea-e1812.png │ ├── zha-ikea-e1812.yaml │ ├── zha-ikea-e2123.png │ ├── zha-ikea-e2123.yaml │ ├── zha-ikea-rodret-wireless-dimmer.png │ ├── zha-ikea-rodret-wireless-dimmer.yaml │ ├── zha-ikea-somrig.png │ ├── zha-ikea-somrig.yaml │ ├── zha-ikea-styrbar.png │ ├── zha-ikea-styrbar.yaml │ ├── zha-ikea-tradfri-remote.png │ ├── zha-ikea-tradfri-remote.yaml │ ├── zha-inovelli-vzm31-sn-blue-series-2-1-switch.png │ ├── zha-inovelli-vzm31-sn-blue-series-2-1-switch.yaml │ ├── zha-namron-two-channel-dimmer-k4.png │ ├── zha-namron-two-channel-dimmer-k4.yaml │ ├── zha-osram-mini-switch.png │ ├── zha-osram-mini-switch.yaml │ ├── zha-philips-hue-dimmer.png │ ├── zha-philips-hue-dimmer.yaml │ ├── zha-philips-hue-smart-button.png │ ├── zha-philips-hue-smart-button.yaml │ ├── zha-philips-hue-tap-dial.png │ ├── zha-philips-hue-tap-dial.yaml │ ├── zha-sengled-smart-light-switch-e1e-g7F.png │ ├── zha-sengled-smart-light-switch-e1e-g7F.yaml │ ├── zha-sonoff-snzb-01.png │ ├── zha-sonoff-snzb-01.yaml │ ├── zha-thirdreality-smart-button.png │ ├── zha-thirdreality-smart-button.yaml │ ├── zha-tuya-3-scene-remote.png │ ├── zha-tuya-3-scene-remote.yaml │ ├── zha-tuya-4-button-scene-ss6400zb.png │ ├── zha-tuya-4-button-scene-ss6400zb.yaml │ ├── zha-tuya-4-button-scene.png │ ├── zha-tuya-4-button-scene.yaml │ ├── zha-tuya-smart-knob-tz3000-abrsvsou.png │ ├── zha-tuya-smart-knob-tz3000-abrsvsou.yaml │ ├── zha-xiaomi-double-key-wxkg07lm.png │ ├── zha-xiaomi-double-key-wxkg07lm.yaml │ ├── zha-xiaomi-smart-wireless-switch-wxkg01lm.png │ ├── zha-xiaomi-smart-wireless-switch-wxkg01lm.yaml │ ├── zigbee2mqtt-aqara-d1-1-gang-switch.png │ ├── zigbee2mqtt-aqara-d1-1-gang-switch.yaml │ ├── zigbee2mqtt-aqara-d1-2-gang-switch.png │ ├── zigbee2mqtt-aqara-d1-2-gang-switch.yaml │ ├── zigbee2mqtt-aqara-e1-1-gang-switch.png │ ├── zigbee2mqtt-aqara-e1-1-gang-switch.yaml │ ├── zigbee2mqtt-aqara-e1-2-gang-switch.png │ ├── zigbee2mqtt-aqara-e1-2-gang-switch.yaml │ ├── zigbee2mqtt-aqara-e1-3-gang-switch.png │ ├── zigbee2mqtt-aqara-e1-3-gang-switch.yaml │ ├── zigbee2mqtt-aqara-e1-wireless-mini-switch.png │ ├── zigbee2mqtt-aqara-e1-wireless-mini-switch.yaml │ ├── zigbee2mqtt-aqara-h1-double-rocker-remote.png │ ├── zigbee2mqtt-aqara-h1-double-rocker-remote.yaml │ ├── zigbee2mqtt-aqara-opple-1x2.png │ ├── zigbee2mqtt-aqara-opple-1x2.yaml │ ├── zigbee2mqtt-aqara-opple-2x2.png │ ├── zigbee2mqtt-aqara-opple-2x2.yaml │ ├── zigbee2mqtt-aqara-opple-3x2.png │ ├── zigbee2mqtt-aqara-opple-3x2.yaml │ ├── zigbee2mqtt-aqara-wireless-mini-switch.png │ ├── zigbee2mqtt-aqara-wireless-mini-switch.yaml │ ├── zigbee2mqtt-busch-jaeger-wall-switch-673x-series.png │ ├── zigbee2mqtt-busch-jaeger-wall-switch-673x-series.yaml │ ├── zigbee2mqtt-easyiot-ih-k663.png │ ├── zigbee2mqtt-easyiot-ih-k663.yaml │ ├── zigbee2mqtt-ecodim-ed10014-8button-switch.png │ ├── zigbee2mqtt-ecodim-ed10014-8button-switch.yaml │ ├── zigbee2mqtt-enocean-ptm215z.png │ ├── zigbee2mqtt-enocean-ptm215z.yaml │ ├── zigbee2mqtt-ers-10tzbvk-aa-event.png │ ├── zigbee2mqtt-ers-10tzbvk-aa-event.yaml │ ├── zigbee2mqtt-icasa-pulses8-iczb-kpd18s.png │ ├── zigbee2mqtt-icasa-pulses8-iczb-kpd18s.yaml │ ├── zigbee2mqtt-ikea-e1743.png │ ├── zigbee2mqtt-ikea-e1743.yaml │ ├── zigbee2mqtt-ikea-e1744.png │ ├── zigbee2mqtt-ikea-e1744.yaml │ ├── zigbee2mqtt-ikea-e1766.png │ ├── zigbee2mqtt-ikea-e1766.yaml │ ├── zigbee2mqtt-ikea-e1812.png │ ├── zigbee2mqtt-ikea-e1812.yaml │ ├── zigbee2mqtt-ikea-e2123.png │ ├── zigbee2mqtt-ikea-e2123.yaml │ ├── zigbee2mqtt-ikea-e2201.png │ ├── zigbee2mqtt-ikea-e2201.yaml │ ├── zigbee2mqtt-ikea-e2213.png │ ├── zigbee2mqtt-ikea-e2213.yaml │ ├── zigbee2mqtt-ikea-styrbar.png │ ├── zigbee2mqtt-ikea-styrbar.yaml │ ├── zigbee2mqtt-ikea-tradfri-remote.png │ ├── zigbee2mqtt-ikea-tradfri-remote.yaml │ ├── zigbee2mqtt-inovelli-vzm31-sn-blue-series-2-1-switch.png │ ├── zigbee2mqtt-inovelli-vzm31-sn-blue-series-2-1-switch.yaml │ ├── zigbee2mqtt-lidl-hg06668.png │ ├── zigbee2mqtt-lidl-hg06668.yaml │ ├── zigbee2mqtt-lidl-livarno-dimmer-switch.png │ ├── zigbee2mqtt-lidl-livarno-dimmer-switch.yaml │ ├── zigbee2mqtt-lutron-aurora.png │ ├── zigbee2mqtt-lutron-aurora.yaml │ ├── zigbee2mqtt-moes-4-button-scene.png │ ├── zigbee2mqtt-moes-4-button-scene.yaml │ ├── zigbee2mqtt-mueller-licht-tint-remote-404049.png │ ├── zigbee2mqtt-mueller-licht-tint-remote-404049.yaml │ ├── zigbee2mqtt-osram-smartplus-mini-switch.png │ ├── zigbee2mqtt-osram-smartplus-mini-switch.yaml │ ├── zigbee2mqtt-paulmann-50134-2x2.png │ ├── zigbee2mqtt-paulmann-50134-2x2.yaml │ ├── zigbee2mqtt-philips-hue-dimmer.png │ ├── zigbee2mqtt-philips-hue-dimmer.yaml │ ├── zigbee2mqtt-philips-hue-smart-button.png │ ├── zigbee2mqtt-philips-hue-smart-button.yaml │ ├── zigbee2mqtt-philips-hue-tap-dial.png │ ├── zigbee2mqtt-philips-hue-tap-dial.yaml │ ├── zigbee2mqtt-philips-hue-tap.png │ ├── zigbee2mqtt-philips-hue-tap.yaml │ ├── zigbee2mqtt-philips-hue-wall-switch-module.png │ ├── zigbee2mqtt-philips-hue-wall-switch-module.yaml │ ├── zigbee2mqtt-silvercrest-smart-button-ts004f.png │ ├── zigbee2mqtt-silvercrest-smart-button-ts004f.yaml │ ├── zigbee2mqtt-smartthings-smart-button.png │ ├── zigbee2mqtt-smartthings-smart-button.yaml │ ├── zigbee2mqtt-sonoff-snzb-01.png │ ├── zigbee2mqtt-sonoff-snzb-01.yaml │ ├── zigbee2mqtt-sonoff-snzb-01p.png │ ├── zigbee2mqtt-sonoff-snzb-01p.yaml │ ├── zigbee2mqtt-tint-remote-control.png │ ├── zigbee2mqtt-tint-remote-control.yaml │ ├── zigbee2mqtt-trust-remote-control-zyct-202.png │ ├── zigbee2mqtt-trust-remote-control-zyct-202.yaml │ ├── zigbee2mqtt-tuya-1-gang-remote.png │ ├── zigbee2mqtt-tuya-1-gang-remote.yaml │ ├── zigbee2mqtt-tuya-1-gang-switch-ts0011.png │ ├── zigbee2mqtt-tuya-1-gang-switch-ts0011.yaml │ ├── zigbee2mqtt-tuya-2-buttons-remote.png │ ├── zigbee2mqtt-tuya-2-buttons-remote.yaml │ ├── zigbee2mqtt-tuya-2-gang-remote.png │ ├── zigbee2mqtt-tuya-2-gang-remote.yaml │ ├── zigbee2mqtt-tuya-2-gang-switch-ts0012.png │ ├── zigbee2mqtt-tuya-2-gang-switch-ts0012.yaml │ ├── zigbee2mqtt-tuya-3-gang-remote.png │ ├── zigbee2mqtt-tuya-3-gang-remote.yaml │ ├── zigbee2mqtt-tuya-4-button-scene-ss6400zb.png │ ├── zigbee2mqtt-tuya-4-button-scene-ss6400zb.yaml │ ├── zigbee2mqtt-tuya-4-button-scene.png │ ├── zigbee2mqtt-tuya-4-button-scene.yaml │ ├── zigbee2mqtt-tuya-6-button-scene-ts0046.png │ ├── zigbee2mqtt-tuya-6-button-scene-ts0046.yaml │ ├── zigbee2mqtt-tuya-round-button-switch.png │ ├── zigbee2mqtt-tuya-round-button-switch.yaml │ ├── zigbee2mqtt-tuya-sos-button.png │ ├── zigbee2mqtt-tuya-sos-button.yaml │ ├── zigbee2mqtt-xiaomi-double-key-wxkg07lm.png │ ├── zigbee2mqtt-xiaomi-double-key-wxkg07lm.yaml │ ├── zigbee2mqtt-xiaomi-smart-wireless-switch-wxkg01lm.png │ ├── zigbee2mqtt-xiaomi-smart-wireless-switch-wxkg01lm.yaml │ ├── zigbee2mqtt-zignito-4-button-scene.png │ ├── zigbee2mqtt-zignito-4-button-scene.yaml │ ├── zwave-js-aeotec-nanomote-quad.png │ ├── zwave-js-aeotec-nanomote-quad.yaml │ ├── zwave-js-aeotec-wallmote-7.png │ ├── zwave-js-aeotec-wallmote-7.yaml │ ├── zwave-js-aeotec-wallmote-quad.png │ ├── zwave-js-aeotec-wallmote-quad.yaml │ ├── zwave-js-gocontrol-wa00z.png │ ├── zwave-js-gocontrol-wa00z.yaml │ ├── zwave-js-hank-scn04.png │ ├── zwave-js-hank-scn04.yaml │ ├── zwave-js-heatit-z-dim-rotary-dimmer.png │ ├── zwave-js-heatit-z-dim-rotary-dimmer.yaml │ ├── zwave-js-inovelli-vzw31-sn-red-series-2-1-switch.png │ ├── zwave-js-inovelli-vzw31-sn-red-series-2-1-switch.yaml │ ├── zwave-js-k8.png │ ├── zwave-js-k8.yaml │ ├── zwave-js-shelly-wave-i4.png │ ├── zwave-js-shelly-wave-i4.yaml │ ├── zwave-js-wallmote-duo.png │ ├── zwave-js-wallmote-duo.yaml │ ├── zwave-js-zooz-zen30.png │ ├── zwave-js-zooz-zen30.yaml │ ├── zwave-js-zooz-zen32.png │ ├── zwave-js-zooz-zen32.yaml │ ├── zwave-js-zooz-zen34.png │ ├── zwave-js-zooz-zen34.yaml │ ├── zwave-js-zooz-zen37.png │ ├── zwave-js-zooz-zen37.yaml │ ├── zwave-js-zooz-zen51.png │ ├── zwave-js-zooz-zen51.yaml │ ├── zwave-js-zooz-zen71.png │ ├── zwave-js-zooz-zen71.yaml │ ├── zwave-js-zooz-zen72.png │ ├── zwave-js-zooz-zen72.yaml │ ├── zwave-js-zooz-zen76.png │ ├── zwave-js-zooz-zen76.yaml │ ├── zwave-js-zooz-zen77.png │ ├── zwave-js-zooz-zen77.yaml │ ├── zwave-js-zrc-90.png │ └── zwave-js-zrc-90.yaml │ ├── config_flow.py │ ├── connections.py │ ├── const.py │ ├── helpers.py │ ├── manifest.json │ ├── models.py │ ├── schema.py │ ├── services.yaml │ ├── store.py │ ├── strings.json │ ├── translations │ └── en.json │ └── view.py ├── hacs.json └── images ├── dark_icon.png ├── dark_icon@2x.png ├── demo-1.png ├── demo-2.png ├── demo-3.png ├── icon.png ├── icon@2x.png ├── no-device-actions.png └── youtube-introduction.png /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [Sian-Lee-SA] 2 | buy_me_a_coffee: SianLee 3 | custom: ["https://www.paypal.com/donate/?business=A82MM255CXF9L&no_recurring=0&item_name=Donating+will+help+justify+my+time+coding+and+doing+projects+that+also+benefits+others.+Any+amount+is+greatly+appreciated%21¤cy_code=AUD"] 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | READ AND REMOVE BEFORE SUBMITTING, FAILURE TO DO SO WILL AUTOMATICALLY BE CLOSED 2 | 3 | Please do not ask or request switches to this repo. The switches are community supplied and not subjected to the maintainer of this repo. Issue's requesting switches will be automatically closed without reason. Please read up on blueprints if you wish to make the blueprint yourself. 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ** IMPORTANT 11 | 12 | Please do not ask or request switches to this repo. The switches are community supplied and not subjected to the maintainer of this repo. Issue's requesting switches will be automatically closed without reason. Please read up on blueprints if you wish to make the blueprint yourself. 13 | 14 | You can remove this section before submitting 15 | 16 | **Describe the bug** 17 | A clear and concise description of what the bug is. 18 | 19 | **To Reproduce** 20 | Steps to reproduce the behavior: 21 | 1. Go to '...' 22 | 2. Click on '....' 23 | 3. Scroll down to '....' 24 | 4. See error 25 | 26 | **Expected behavior** 27 | A clear and concise description of what you expected to happen. 28 | 29 | **Screenshots** 30 | If applicable, add screenshots to help explain your problem. 31 | 32 | **Desktop (please complete the following information):** 33 | - OS: [e.g. iOS] 34 | - Browser [e.g. chrome, safari] 35 | - Version [e.g. 22] 36 | 37 | **Smartphone (please complete the following information):** 38 | - Device: [e.g. iPhone6] 39 | - OS: [e.g. iOS8.1] 40 | - Browser [e.g. stock browser, safari] 41 | - Version [e.g. 22] 42 | 43 | **Additional context** 44 | Add any other context about the problem here. 45 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ** IMPORTANT 11 | 12 | Please do not ask or request switches to this repo. The switches are community supplied and not subjected to the maintainer of this repo. Issue's requesting switches will be automatically closed without reason. Please read up on blueprints if you wish to make the blueprint yourself. 13 | 14 | You can remove this section before submitting 15 | 16 | **Is your feature request related to a problem? Please describe.** 17 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 18 | 19 | **Describe the solution you'd like** 20 | A clear and concise description of what you want to happen. 21 | 22 | **Describe alternatives you've considered** 23 | A clear and concise description of any alternative solutions or features you've considered. 24 | 25 | **Additional context** 26 | Add any other context or screenshots about the feature request here. 27 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Blueprint Checklist 2 | 3 | 6 | 7 | - [ ] You viewed the README and conformed to the [naming conventions](https://github.com/Sian-Lee-SA/Home-Assistant-Switch-Manager#title-naming-convention) 8 | - [ ] You ordered the actions as stated in the README [action order](https://github.com/Sian-Lee-SA/Home-Assistant-Switch-Manager#order-convention) 9 | - [ ] All filenames are lowercase and uses '-' for spaces and **not** '_' while using {service-name}-{switch-name-or-type}.yaml format 10 | - [ ] Images are png 11 | - [ ] Image backgrounds are transparent and is cropped to the device boundaries 12 | - [ ] Images has a maximum width of 800px and maximum height of 500px 13 | - [ ] There are no missing buttons or actions 14 | - [ ] Your integration/service is running on the latest version 15 | - [ ] You have tested your blueprints and made sure each button and action works 16 | 17 | #### Zigbee2MQTT 18 | 19 | - [ ] (**older devices**) You have ensured legacy is off/false for the device in the Z2M devices Settings (specific) page and that your actions matches those with legacy off? 20 | 21 | 27 | -------------------------------------------------------------------------------- /.github/workflows/hacs.yaml: -------------------------------------------------------------------------------- 1 | name: HACS Action 2 | 3 | on: 4 | push: 5 | pull_request: 6 | schedule: 7 | - cron: "0 0 * * *" 8 | 9 | jobs: 10 | hacs: 11 | name: HACS Action 12 | runs-on: "ubuntu-latest" 13 | steps: 14 | - name: HACS Action 15 | uses: "hacs/action@main" 16 | with: 17 | category: "integration" -------------------------------------------------------------------------------- /.github/workflows/hassfest.yaml: -------------------------------------------------------------------------------- 1 | name: Validate with hassfest 2 | 3 | on: 4 | push: 5 | pull_request: 6 | schedule: 7 | - cron: '0 0 * * *' 8 | 9 | jobs: 10 | validate: 11 | runs-on: "ubuntu-latest" 12 | steps: 13 | - uses: "actions/checkout@v3" 14 | - uses: "home-assistant/actions/hassfest@master" 15 | -------------------------------------------------------------------------------- /.github/workflows/inactive_issues.yaml: -------------------------------------------------------------------------------- 1 | name: Close inactive issues 2 | on: 3 | schedule: 4 | - cron: "30 1 * * *" 5 | 6 | jobs: 7 | close-issues: 8 | runs-on: ubuntu-latest 9 | permissions: 10 | issues: write 11 | pull-requests: write 12 | steps: 13 | - uses: actions/stale@v5 14 | with: 15 | days-before-issue-stale: 30 16 | days-before-issue-close: 14 17 | stale-issue-label: "stale" 18 | stale-issue-message: "This issue is stale because it has been open for 30 days with no activity." 19 | close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." 20 | days-before-pr-stale: -1 21 | days-before-pr-close: -1 22 | repo-token: ${{ secrets.GITHUB_TOKEN }} 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/@eaDir 2 | **/Thumbs.db 3 | **/__pycache__/ 4 | .vscode -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2022 Sian Croser 2 | 3 | This program is free software: you can redistribute it and/or modify 4 | it under the terms of the GNU General Public License as published by 5 | the Free Software Foundation, either version 3 of the License, or 6 | (at your option) any later version. 7 | 8 | This program is distributed in the hope that it will be useful, 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | GNU General Public License for more details. 12 | 13 | You should have received a copy of the GNU General Public License 14 | along with this program. If not, see . 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/bthome-shelly-blu-button1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/bthome-shelly-blu-button1.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/bthome-shelly-blu-button1.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly BLU Button1 2 | service: BTHome 3 | event_type: bthome_ble_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: event_type 10 | value: press 11 | - title: press 2x 12 | conditions: 13 | - key: event_type 14 | value: double_press 15 | - title: press 3x 16 | conditions: 17 | - key: event_type 18 | value: triple_press 19 | - title: hold 20 | conditions: 21 | - key: action 22 | value: hold_press 23 | - title: hold (released) 24 | conditions: 25 | - key: action 26 | value: long_press -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/bthome-shelly-blu-rc-button4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/bthome-shelly-blu-rc-button4.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-aqara-opple-1x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-aqara-opple-1x2.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-aqara-opple-1x2.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara Opple 1x2 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 70 7 | y: 63 8 | width: 157 9 | height: 327 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: event 14 | value: 1002 15 | - title: press 2x 16 | conditions: 17 | - key: event 18 | value: 1004 19 | - title: press 3x 20 | conditions: 21 | - key: event 22 | value: 1005 23 | - title: hold 24 | conditions: 25 | - key: event 26 | value: 1001 27 | - title: hold (released) 28 | conditions: 29 | - key: event 30 | value: 1003 31 | - x: 228 32 | y: 63 33 | width: 157 34 | height: 327 35 | actions: 36 | - title: press 37 | conditions: 38 | - key: event 39 | value: 2002 40 | - title: press 2x 41 | conditions: 42 | - key: event 43 | value: 2004 44 | - title: press 3x 45 | conditions: 46 | - key: event 47 | value: 2005 48 | - title: hold 49 | conditions: 50 | - key: event 51 | value: 2001 52 | - title: hold (released) 53 | conditions: 54 | - key: event 55 | value: 2003 56 | 57 | 58 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-aqara-opple-2x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-aqara-opple-2x2.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-aqara-opple-3x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-aqara-opple-3x2.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-aqara-wireless-mini-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-aqara-wireless-mini-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-aqara-wireless-mini-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara Wireless Mini Switch 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: event 10 | value: 1002 11 | - title: press 2x 12 | conditions: 13 | - key: event 14 | value: 1004 15 | - title: hold 16 | conditions: 17 | - key: event 18 | value: 1001 19 | - title: hold (released) 20 | conditions: 21 | - key: event 22 | value: 1003 23 | - title: shake 24 | conditions: 25 | - key: event 26 | value: 1007 27 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-e1743.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-ikea-e1743.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-e1743.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea On/Off Remote E1743 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: device_id 5 | buttons: 6 | - d: "M 0 150 c 0 0 5 -145 145 -145 l 195 0 c 0 0 145 0 145 145 l 0 94 l -485 0 Z" 7 | actions: 8 | - title: press 9 | conditions: 10 | - key: event 11 | value: 1002 12 | - title: hold 13 | conditions: 14 | - key: event 15 | value: 1001 16 | - title: hold (released) 17 | conditions: 18 | - key: event 19 | value: 1003 20 | - d: "M 0 245 L0,348 c 0 0 5 135 135 135 l 205 0 c 0 0 145 0 145 -145 l 0 -94 Z" 21 | actions: 22 | - title: press 23 | conditions: 24 | - key: event 25 | value: 2002 26 | - title: hold 27 | conditions: 28 | - key: event 29 | value: 2001 30 | - title: hold (released) 31 | conditions: 32 | - key: event 33 | value: 2003 34 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-e1744.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-ikea-e1744.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-e1744.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea SYMFONISK Sound remote (E1744) 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: event 10 | value: 1002 11 | - title: press 2x 12 | conditions: 13 | - key: event 14 | value: 1004 15 | - title: press 3x 16 | conditions: 17 | - key: event 18 | value: 1005 19 | - title: rotate clockwise start 20 | conditions: 21 | - key: event 22 | value: 2001 23 | - title: rotate clockwise stop 24 | conditions: 25 | - key: event 26 | value: 2003 27 | - title: rotate anti-clockwise start 28 | conditions: 29 | - key: event 30 | value: 3001 31 | - title: rotate anti-clockwise stop 32 | conditions: 33 | - key: event 34 | value: 3003 35 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-e2201.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-ikea-e2201.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-e2201.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Rodret 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: id 5 | buttons: 6 | ## Not sure why the buttons are back to front and illogical by their numbers?? 7 | - x: 168 8 | y: 61 9 | width: 50 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: event 14 | value: 1002 15 | - title: hold 16 | conditions: 17 | - key: event 18 | value: 1001 19 | - title: hold (released) 20 | conditions: 21 | - key: event 22 | value: 1003 23 | - x: 168 24 | y: 434 25 | width: 50 26 | actions: 27 | - title: press 28 | conditions: 29 | - key: event 30 | value: 2002 31 | - title: hold 32 | conditions: 33 | - key: event 34 | value: 2001 35 | - title: hold (released) 36 | conditions: 37 | - key: event 38 | value: 2003 -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-styrbar-v1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-ikea-styrbar-v1.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-styrbar-v1.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Styrbar 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: id 5 | buttons: 6 | - x: 247 7 | y: 61 8 | width: 50 9 | height: 50 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: event 14 | value: 1002 15 | - title: hold 16 | conditions: 17 | - key: event 18 | value: 1001 19 | - title: hold (released) 20 | conditions: 21 | - key: event 22 | value: 1003 23 | - x: 442 24 | y: 248 25 | width: 50 26 | height: 50 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: event 31 | value: 4002 32 | - title: hold 33 | conditions: 34 | - key: event 35 | value: 4001 36 | - title: hold (released) 37 | conditions: 38 | - key: event 39 | value: 4003 40 | - x: 245 41 | y: 434 42 | width: 50 43 | height: 50 44 | actions: 45 | - title: press 46 | conditions: 47 | - key: event 48 | value: 2002 49 | - title: hold 50 | conditions: 51 | - key: event 52 | value: 2001 53 | - title: hold (released) 54 | conditions: 55 | - key: event 56 | value: 2003 57 | - x: 52 58 | y: 248 59 | width: 50 60 | height: 50 61 | actions: 62 | - title: press 63 | conditions: 64 | - key: event 65 | value: 3002 66 | - title: hold 67 | conditions: 68 | - key: event 69 | value: 3001 70 | - title: hold (released) 71 | conditions: 72 | - key: event 73 | value: 3003 -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-tradfri-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-ikea-tradfri-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-tradfri-shortcut-v1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-ikea-tradfri-shortcut-v1.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-ikea-tradfri-shortcut-v1.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Trådfri Shortcut 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: event 10 | value: 1002 11 | - title: hold 12 | conditions: 13 | - key: event 14 | value: 1001 15 | - title: hold (released) 16 | conditions: 17 | - key: event 18 | value: 1003 19 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-philips-hue-dimmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-philips-hue-dimmer.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-philips-hue-dimmer.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Dimmer v1/v2 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 2 7 | y: 2 8 | width: 189 9 | height: 159 10 | actions: 11 | - title: init 12 | conditions: 13 | - key: event 14 | value: 1000 15 | - title: press 16 | conditions: 17 | - key: event 18 | value: 1002 19 | - title: hold 20 | conditions: 21 | - key: event 22 | value: 1001 23 | - title: hold (released) 24 | conditions: 25 | - key: event 26 | value: 1003 27 | - x: 2 28 | y: 161 29 | width: 189 30 | height: 90 31 | actions: 32 | - title: init 33 | conditions: 34 | - key: event 35 | value: 2000 36 | - title: press 37 | conditions: 38 | - key: event 39 | value: 2002 40 | - title: hold 41 | conditions: 42 | - key: event 43 | value: 2001 44 | - title: hold (released) 45 | conditions: 46 | - key: event 47 | value: 2003 48 | - x: 2 49 | y: 251 50 | width: 189 51 | height: 90 52 | actions: 53 | - title: init 54 | conditions: 55 | - key: event 56 | value: 3000 57 | - title: press 58 | conditions: 59 | - key: event 60 | value: 3002 61 | - title: hold 62 | conditions: 63 | - key: event 64 | value: 3001 65 | - title: hold (released) 66 | conditions: 67 | - key: event 68 | value: 3003 69 | - x: 2 70 | y: 341 71 | width: 189 72 | height: 159 73 | actions: 74 | - title: init 75 | conditions: 76 | - key: event 77 | value: 4000 78 | - title: press 79 | conditions: 80 | - key: event 81 | value: 4002 82 | - title: hold 83 | conditions: 84 | - key: event 85 | value: 4001 86 | - title: hold (released) 87 | conditions: 88 | - key: event 89 | value: 4003 -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-tuya-scene-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-tuya-scene-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-tuya-scene-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Tuya 4-button Scene Switch (TS0044) 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 1 7 | y: 1 8 | width: 221 9 | height: 220 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: event 14 | value: 1002 15 | - title: press 2x 16 | conditions: 17 | - key: event 18 | value: 1004 19 | - title: hold 20 | conditions: 21 | - key: event 22 | value: 1003 23 | - x: 222 24 | y: 1 25 | width: 221 26 | height: 220 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: event 31 | value: 2002 32 | - title: press 2x 33 | conditions: 34 | - key: event 35 | value: 2004 36 | - title: hold 37 | conditions: 38 | - key: event 39 | value: 2003 40 | - x: 2 41 | y: 223 42 | width: 221 43 | height: 220 44 | actions: 45 | - title: press 46 | conditions: 47 | - key: event 48 | value: 3002 49 | - title: press 2x 50 | conditions: 51 | - key: event 52 | value: 3004 53 | - title: hold 54 | conditions: 55 | - key: event 56 | value: 3003 57 | - x: 223 58 | y: 223 59 | width: 221 60 | height: 220 61 | actions: 62 | - title: press 63 | conditions: 64 | - key: event 65 | value: 4002 66 | - title: press 2x 67 | conditions: 68 | - key: event 69 | value: 4004 70 | - title: hold 71 | conditions: 72 | - key: event 73 | value: 4003 -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-tuya-smart-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/deconz-tuya-smart-button.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/deconz-tuya-smart-button.yaml: -------------------------------------------------------------------------------- 1 | name: Tuya Smart Button (MINI-ZSB) 2 | service: deCONZ 3 | event_type: deconz_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: event 10 | value: 1002 11 | - title: press 2x 12 | conditions: 13 | - key: event 14 | value: 1004 15 | - title: hold (released) 16 | conditions: 17 | - key: event 18 | value: 1003 19 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/google-nest-doorbell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/google-nest-doorbell.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/google-nest-doorbell.yaml: -------------------------------------------------------------------------------- 1 | name: Doorbell 2 | service: Google Nest 3 | event_type: nest_event 4 | identifier_key: device_id 5 | buttons: 6 | actions: 7 | - title: press 8 | conditions: 9 | - key: type 10 | value: doorbell_chime 11 | # Below actions goes against what switch manager was intended for but as it's being the same device 12 | # within it's own ecosystem, i'm letting it slide also nest integration lacks these sensors 13 | - title: motion 14 | conditions: 15 | - key: type 16 | value: camera_motion 17 | - title: person 18 | conditions: 19 | - key: type 20 | value: camera_person -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/homematic-2-buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/homematic-2-buttons.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/homematic-2-buttons.yaml: -------------------------------------------------------------------------------- 1 | name: Homematic 2 Buttons 2 | service: Homematic 3 | event_type: homematic.keypress 4 | identifier_key: device_id 5 | buttons: 6 | - x: 85 7 | y: 85 8 | width: 330 9 | height: 164 10 | conditions: 11 | - key: subtype 12 | value: 2 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: type 17 | value: press_short 18 | - title: hold 19 | conditions: 20 | - key: type 21 | value: press_long 22 | - x: 85 23 | y: 252 24 | width: 330 25 | height: 164 26 | conditions: 27 | - key: subtype 28 | value: 1 29 | actions: 30 | - title: press 31 | conditions: 32 | - key: type 33 | value: press_short 34 | - title: hold 35 | conditions: 36 | - key: type 37 | value: press_long 38 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/homematic-6-buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/homematic-6-buttons.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/homematic-8-buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/homematic-8-buttons.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/lutron-pj2-3brl-pico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/lutron-pj2-3brl-pico.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/lutron-pj2-4b-pico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/lutron-pj2-4b-pico.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/lutron-pj2-4b-pico.yaml: -------------------------------------------------------------------------------- 1 | name: Lutron PJ2-4B Pico Remote 2 | service: Lutron 3 | event_type: lutron_caseta_button_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 38 7 | y: 16 8 | width: 173 9 | height: 116 10 | conditions: 11 | - key: button_number 12 | value: 8 13 | actions: 14 | - title: init 15 | conditions: 16 | - key: action 17 | value: press 18 | - title: press 19 | conditions: 20 | - key: action 21 | value: release 22 | - x: 38 23 | y: 133 24 | width: 173 25 | height: 116 26 | conditions: 27 | - key: button_number 28 | value: 9 29 | actions: 30 | - title: init 31 | conditions: 32 | - key: action 33 | value: press 34 | - title: press 35 | conditions: 36 | - key: action 37 | value: release 38 | - x: 38 39 | y: 250 40 | width: 173 41 | height: 116 42 | conditions: 43 | - key: button_number 44 | value: 10 45 | actions: 46 | - title: init 47 | conditions: 48 | - key: action 49 | value: press 50 | - title: press 51 | conditions: 52 | - key: action 53 | value: release 54 | - x: 38 55 | y: 367 56 | width: 173 57 | height: 116 58 | conditions: 59 | - key: button_number 60 | value: 11 61 | actions: 62 | - title: init 63 | conditions: 64 | - key: action 65 | value: press 66 | - title: press 67 | conditions: 68 | - key: action 69 | value: release 70 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-dimmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/philips-hue-dimmer.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-senic-fohs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/philips-hue-senic-fohs.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-tap-dial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/philips-hue-tap-dial.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-tap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/philips-hue-tap.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-tap.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Tap 2 | service: Philips Hue 3 | event_type: hue_event 4 | identifier_key: id 5 | buttons: 6 | - x: 174 7 | y: 174 8 | width: 161 9 | conditions: 10 | - key: subtype 11 | value: 1 12 | actions: 13 | - title: press 14 | conditions: 15 | - key: type 16 | value: initial_press 17 | - x: 87 18 | y: 176 19 | width: 46 20 | conditions: 21 | - key: subtype 22 | value: 2 23 | actions: 24 | - title: press 25 | conditions: 26 | - key: type 27 | value: initial_press 28 | - x: 178 29 | y: 263 30 | width: 46 31 | conditions: 32 | - key: subtype 33 | value: 3 34 | actions: 35 | - title: press 36 | conditions: 37 | - key: type 38 | value: initial_press 39 | - x: 265 40 | y: 173 41 | width: 46 42 | conditions: 43 | - key: subtype 44 | value: 4 45 | actions: 46 | - title: press 47 | conditions: 48 | - key: type 49 | value: initial_press 50 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-wall-switch-module-double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/philips-hue-wall-switch-module-double.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-wall-switch-module-double.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Wall Switch Module (double) 2 | service: Philips Hue 3 | event_type: hue_event 4 | identifier_key: id 5 | info: Actions HOLD and HOLD (RELEASED) will only work in rocker mode. 6 | buttons: 7 | - x: 112 8 | y: 140 9 | width: 88 10 | height: 88 11 | conditions: 12 | - key: subtype 13 | value: 1 14 | actions: 15 | - title: init 16 | conditions: 17 | - key: type 18 | value: initial_press 19 | - title: press 20 | conditions: 21 | - key: type 22 | value: short_release 23 | - title: hold 24 | conditions: 25 | - key: type 26 | value: repeat 27 | - title: hold (released) 28 | conditions: 29 | - key: type 30 | value: long_release 31 | - x: 112 32 | y: 270 33 | width: 88 34 | height: 88 35 | conditions: 36 | - key: subtype 37 | value: 2 38 | actions: 39 | - title: init 40 | conditions: 41 | - key: type 42 | value: initial_press 43 | - title: press 44 | conditions: 45 | - key: type 46 | value: short_release 47 | - title: hold 48 | conditions: 49 | - key: type 50 | value: repeat 51 | - title: hold (released) 52 | conditions: 53 | - key: type 54 | value: long_release 55 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-wall-switch-module-single.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/philips-hue-wall-switch-module-single.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/philips-hue-wall-switch-module-single.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Wall Switch Module (single) 2 | service: Philips Hue 3 | event_type: hue_event 4 | identifier_key: id 5 | info: Actions HOLD and HOLD (RELEASED) will only work in rocker mode. 6 | buttons: 7 | - conditions: 8 | - key: subtype 9 | value: 1 10 | actions: 11 | - title: init 12 | conditions: 13 | - key: type 14 | value: initial_press 15 | - title: press 16 | conditions: 17 | - key: type 18 | value: short_release 19 | - title: hold 20 | conditions: 21 | - key: type 22 | value: repeat 23 | - title: hold (released) 24 | conditions: 25 | - key: type 26 | value: long_release 27 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-button1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-button1.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-button1.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly Button 1 (1 Button) 2 | service: Shelly 3 | event_type: shelly.click 4 | identifier_key: device 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: click_type 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: click_type 14 | value: double 15 | - title: press 3x 16 | conditions: 17 | - key: click_type 18 | value: triple 19 | - title: hold 20 | conditions: 21 | - key: click_type 22 | value: long 23 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shelly1-buttonmodule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-shelly1-buttonmodule.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shelly1-buttonmodule.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly 1 (button) 2 | service: Shelly 3 | event_type: shelly.click 4 | identifier_key: device 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: click_type 10 | value: single 11 | - title: hold 12 | conditions: 13 | - key: click_type 14 | value: long 15 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shelly1-switchmodule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-shelly1-switchmodule.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shelly1-switchmodule.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly 1 (switch) 2 | service: Shelly 3 | event_type: state_changed 4 | identifier_key: entity_id 5 | conditions: "{{ (data.old_state.state == 'off' and data.new_state.state == 'on') or (data.old_state.state == 'on' and data.new_state.state == 'off')}}" 6 | buttons: 7 | - actions: 8 | - title: init 9 | - title: 'on' 10 | conditions: 11 | - key: new_state.state 12 | value: 'on' 13 | - title: 'off' 14 | conditions: 15 | - key: new_state.state 16 | value: 'off' 17 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shelly1pmmini-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-shelly1pmmini-button.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shelly1pmmini-button.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly 1pm mini Gen3 (button) 2 | service: Shelly 3 | event_type: shelly.click 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: click_type 10 | value: single_push 11 | - title: press 2x 12 | conditions: 13 | - key: click_type 14 | value: double_push 15 | - title: press 3x 16 | conditions: 17 | - key: click_type 18 | value: triple_push 19 | - title: hold 20 | conditions: 21 | - key: click_type 22 | value: long_push 23 | - title: released 24 | conditions: 25 | - key: click_type 26 | value: btn_up 27 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shelly25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-shelly25.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shelly25.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly 2.5 2 | service: Shelly 3 | event_type: shelly.click 4 | identifier_key: device 5 | buttons: 6 | - x: 110 7 | y: 123 8 | width: 66 9 | height: 66 10 | conditions: 11 | - key: channel 12 | value: 1 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: click_type 17 | value: single 18 | - title: hold 19 | conditions: 20 | - key: click_type 21 | value: long 22 | 23 | - x: 110 24 | y: 241 25 | width: 66 26 | height: 66 27 | conditions: 28 | - key: channel 29 | value: 2 30 | actions: 31 | - title: press 32 | conditions: 33 | - key: click_type 34 | value: single 35 | - title: hold 36 | conditions: 37 | - key: click_type 38 | value: long 39 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shellyplus2pm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-shellyplus2pm.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-shellyplus2pm.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly Plus 2PM 2 | service: Shelly 3 | event_type: shelly.click 4 | identifier_key: device 5 | buttons: 6 | - x: 110 7 | y: 123 8 | width: 66 9 | height: 66 10 | conditions: 11 | - key: channel 12 | value: 1 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: click_type 17 | value: single_push 18 | - title: hold 19 | conditions: 20 | - key: click_type 21 | value: long_push 22 | 23 | - x: 110 24 | y: 241 25 | width: 66 26 | height: 66 27 | conditions: 28 | - key: channel 29 | value: 2 30 | actions: 31 | - title: press 32 | conditions: 33 | - key: click_type 34 | value: single_push 35 | - title: hold 36 | conditions: 37 | - key: click_type 38 | value: long_push 39 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-wall-switch-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-wall-switch-1.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-wall-switch-1.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly Wall Switch (1 Button) 2 | service: Shelly 3 | event_type: shelly.click 4 | identifier_key: device 5 | buttons: 6 | - actions: 7 | - title: init 8 | conditions: 9 | - key: click_type 10 | value: btn_down 11 | - title: press 12 | conditions: 13 | - key: click_type 14 | value: single_push 15 | - title: press 2x 16 | conditions: 17 | - key: click_type 18 | value: double_push 19 | - title: press 3x 20 | conditions: 21 | - key: click_type 22 | value: triple_push 23 | - title: hold 24 | conditions: 25 | - key: click_type 26 | value: long_push 27 | - title: released 28 | conditions: 29 | - key: click_type 30 | value: btn_up 31 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-wall-switch-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-wall-switch-2.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-wall-switch-2.yaml: -------------------------------------------------------------------------------- 1 | name: Shelly Wall Switch (2 Buttons) 2 | service: Shelly 3 | event_type: shelly.click 4 | identifier_key: device 5 | buttons: 6 | - x: 32 7 | y: 34 8 | width: 169 9 | height: 343 10 | conditions: 11 | - key: channel 12 | value: 1 13 | actions: 14 | - title: init 15 | conditions: 16 | - key: click_type 17 | value: btn_down 18 | - title: press 19 | conditions: 20 | - key: click_type 21 | value: single_push 22 | - title: press 2x 23 | conditions: 24 | - key: click_type 25 | value: double_push 26 | - title: press 3x 27 | conditions: 28 | - key: click_type 29 | value: triple_push 30 | - title: hold 31 | conditions: 32 | - key: click_type 33 | value: long_push 34 | - title: released 35 | conditions: 36 | - key: click_type 37 | value: btn_up 38 | 39 | - x: 210 40 | y: 34 41 | width: 169 42 | height: 343 43 | conditions: 44 | - key: channel 45 | value: 2 46 | actions: 47 | - title: init 48 | conditions: 49 | - key: click_type 50 | value: btn_down 51 | - title: press 52 | conditions: 53 | - key: click_type 54 | value: single_push 55 | - title: press 2x 56 | conditions: 57 | - key: click_type 58 | value: double_push 59 | - title: press 3x 60 | conditions: 61 | - key: click_type 62 | value: triple_push 63 | - title: hold 64 | conditions: 65 | - key: click_type 66 | value: long_push 67 | - title: released 68 | conditions: 69 | - key: click_type 70 | value: btn_up 71 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/shelly-wall-switch-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/shelly-wall-switch-4.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/tasmota-1-button-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/tasmota-1-button-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/tasmota-1-button-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Tasmota 1 Button Switch 2 | service: Tasmota 3 | event_type: mqtt 4 | mqtt_topic_format: stat/+/RESULT 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: Button1.Action 10 | value: SINGLE 11 | - title: press 2x 12 | conditions: 13 | - key: Button1.Action 14 | value: DOUBLE 15 | - title: press 3x 16 | conditions: 17 | - key: Button1.Action 18 | value: TRIPLE 19 | - title: press 4x 20 | conditions: 21 | - key: Button1.Action 22 | value: QUAD 23 | - title: press 5x 24 | conditions: 25 | - key: Button1.Action 26 | value: PENTA 27 | - title: hold 28 | conditions: 29 | - key: Button1.Action 30 | value: HOLD 31 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/tasmota-2-button-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/tasmota-2-button-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/tasmota-2-button-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Tasmota 2 Button Switch 2 | service: Tasmota 3 | event_type: mqtt 4 | mqtt_topic_format: stat/+/RESULT 5 | buttons: 6 | - x: 112 7 | y: 140 8 | width: 88 9 | height: 88 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: Button1.Action 14 | value: SINGLE 15 | - title: press 2x 16 | conditions: 17 | - key: Button1.Action 18 | value: DOUBLE 19 | - title: press 3x 20 | conditions: 21 | - key: Button1.Action 22 | value: TRIPLE 23 | - title: press 4x 24 | conditions: 25 | - key: Button1.Action 26 | value: QUAD 27 | - title: press 5x 28 | conditions: 29 | - key: Button1.Action 30 | value: PENTA 31 | - title: hold 32 | conditions: 33 | - key: Button1.Action 34 | value: HOLD 35 | - x: 112 36 | y: 270 37 | width: 88 38 | height: 88 39 | actions: 40 | - title: press 41 | conditions: 42 | - key: Button2.Action 43 | value: SINGLE 44 | - title: press 2x 45 | conditions: 46 | - key: Button2.Action 47 | value: DOUBLE 48 | - title: press 3x 49 | conditions: 50 | - key: Button2.Action 51 | value: TRIPLE 52 | - title: press 4x 53 | conditions: 54 | - key: Button2.Action 55 | value: QUAD 56 | - title: press 5x 57 | conditions: 58 | - key: Button2.Action 59 | value: PENTA 60 | - title: hold 61 | conditions: 62 | - key: Button2.Action 63 | value: HOLD 64 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/tasmota-3-button-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/tasmota-3-button-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/tasmota-4-button-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/tasmota-4-button-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-1-gang-remote.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara 1 Gang Remote 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: single press 8 | conditions: 9 | - key: command 10 | value: single 11 | - title: double press 12 | conditions: 13 | - key: command 14 | value: double 15 | - title: long 16 | conditions: 17 | - key: command 18 | value: long press -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-2-gang-remote.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara 2 Gang Remote 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 0 7 | y: 0 8 | width: 190 9 | height: 385 10 | actions: 11 | - title: single press 12 | conditions: 13 | - key: command 14 | value: left_single 15 | - title: double press 16 | conditions: 17 | - key: command 18 | value: left_double 19 | - title: long 20 | conditions: 21 | - key: command 22 | value: left_long press 23 | - x: 190 24 | y: 0 25 | width: 190 26 | height: 385 27 | actions: 28 | - title: single press 29 | conditions: 30 | - key: command 31 | value: right_single 32 | - title: double press 33 | conditions: 34 | - key: command 35 | value: right_double 36 | - title: long 37 | conditions: 38 | - key: command 39 | value: right_long press -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-d1-1-gang-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-aqara-d1-1-gang-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-d1-1-gang-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara D1 1 gang switch 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: single press 8 | conditions: 9 | - key: command 10 | value: single 11 | - title: double press 12 | conditions: 13 | - key: command 14 | value: double 15 | - title: long 16 | conditions: 17 | - key: command 18 | value: long press -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-d1-2-gang-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-aqara-d1-2-gang-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-d1-2-gang-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara D1 2 gang switch 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 0 7 | y: 0 8 | width: 190 9 | height: 385 10 | actions: 11 | - title: single press 12 | conditions: 13 | - key: command 14 | value: left_single 15 | - title: double press 16 | conditions: 17 | - key: command 18 | value: left_double 19 | - title: long 20 | conditions: 21 | - key: command 22 | value: left_long press 23 | - x: 190 24 | y: 0 25 | width: 190 26 | height: 385 27 | actions: 28 | - title: single press 29 | conditions: 30 | - key: command 31 | value: right_single 32 | - title: double press 33 | conditions: 34 | - key: command 35 | value: right_double 36 | - title: long 37 | conditions: 38 | - key: command 39 | value: right_long press -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-double-rocker-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-aqara-double-rocker-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-double-rocker-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara Smart Light Switch (Double Rocker, with Neutral) 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - d: M 118 140 H 255 C 259 140 260 143 260 144 V 297 H 113 V 144 C 114 140 118 140 118 140 7 | actions: # Top Button 8 | - title: press 9 | conditions: 10 | - key: command 11 | value: 41_single 12 | - title: press 2x 13 | conditions: 14 | - key: command 15 | value: 42_double 16 | - d: M 113 297 H 260 V 451 C 260 453 257 455 256 455 H 117 C 114 455 113 452 113 451 V 297 17 | actions: # Bottom Button 18 | - title: press 19 | conditions: 20 | - key: command 21 | value: 42_single 22 | - title: press 2x 23 | conditions: 24 | - key: command 25 | value: 42_double 26 | # - d: M 135 157 H 272 C 276 157 277 160 277 161 V 468 C 277 470 274 472 273 472 H 135 C 132 472 130 469 130 468 V 161 C 131 157 135 157 135 157 27 | - x: 183 28 | y: 298 29 | width: 45 30 | actions: # Both Buttons 31 | - title: both press 32 | conditions: 33 | - key: command 34 | value: 51_single 35 | - title: either hold 36 | conditions: 37 | - key: command 38 | value: 1_hold 39 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara E1 Wireless Mini Switch 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: command 10 | value: button_single_press 11 | - title: press 2x 12 | conditions: 13 | - key: command 14 | value: button_double_press 15 | - title: hold 16 | conditions: 17 | - key: command 18 | value: button_long_press 19 | - title: hold (released) 20 | conditions: 21 | - key: command 22 | value: button_released 23 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-h1-rotary-dimmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-aqara-h1-rotary-dimmer.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-h1-rotary-dimmer.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara H1 Rotary Dimmer 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: command 10 | value: 1_single 11 | - title: press 2x 12 | conditions: 13 | - key: command 14 | value: 1_double 15 | - title: hold 16 | conditions: 17 | - key: command 18 | value: 1_hold 19 | - title: rotate left 20 | conditions: "{{ data.command == 'stop_rotation' and data.args.rotation_direction == -1 }}" 21 | - title: rotate right 22 | conditions: "{{ data.command == 'stop_rotation' and data.args.rotation_direction == 1 }}" 23 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-wireless-mini-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-aqara-wireless-mini-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-aqara-wireless-mini-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara Wireless Mini Switch 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: command 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: command 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: command 18 | value: hold 19 | - title: hold (released) 20 | conditions: 21 | - key: command 22 | value: release 23 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ers-10tzbvk-aa-event.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ers-10tzbvk-aa-event.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ers-10tzbvk-aa-event.yaml: -------------------------------------------------------------------------------- 1 | # Event Mode triggering 2 | # https://www.zigbee2mqtt.io/devices/ERS-10TZBVK-AA.html 3 | 4 | name: ERS-10TZBVK-AA TS004F - Event setting 5 | service: ZHA 6 | event_type: zha_event 7 | identifier_key: device_id 8 | buttons: 9 | - actions: 10 | - title: press 11 | conditions: 12 | - key: command 13 | value: toggle 14 | - title: rotate left 15 | conditions: "{{ data.command == 'step' and data.params.step_mode == 1 }}" 16 | - title: rotate right 17 | conditions: "{{ data.command == 'step' and data.params.step_mode == 0 }}" 18 | 19 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-e1743.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ikea-e1743.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-e1743.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea On/Off Remote E1743 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - d: "M 0 150 c 0 0 5 -145 145 -145 l 195 0 c 0 0 145 0 145 145 l 0 94 l -485 0 Z" 7 | actions: 8 | - title: press 9 | conditions: 10 | - key: command 11 | value: "on" 12 | - title: hold 13 | conditions: 14 | - key: command 15 | value: move_with_on_off 16 | - title: hold (released) 17 | conditions: 18 | - key: command 19 | value: stop_with_on_off 20 | - key: button_last_state.0.title 21 | value: hold 22 | - d: "M 0 245 L0,348 c 0 0 5 135 135 135 l 205 0 c 0 0 145 0 145 -145 l 0 -94 Z" 23 | actions: 24 | - title: press 25 | conditions: 26 | - key: command 27 | value: "off" 28 | - title: hold 29 | conditions: 30 | - key: command 31 | value: move 32 | - title: hold (released) 33 | conditions: 34 | - key: command 35 | value: stop_with_on_off 36 | - key: button_last_state.1.title 37 | value: hold 38 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-e1744.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ikea-e1744.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-e1744.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea SYMFONISK Sound remote (E1744) 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: command 10 | value: toggle 11 | - title: press 2x 12 | conditions: "{{ data.command == 'step' and data.params.step_mode == 0}}" 13 | - title: press 3x 14 | conditions: "{{ data.command == 'step' and data.params.step_mode == 1}}" 15 | - title: rotate left 16 | conditions: "{{ data.command == 'move' and data.params.move_mode == 1 }}" 17 | - title: rotate right 18 | conditions: "{{ data.command == 'move' and data.params.move_mode == 0 }}" 19 | - title: rotate (stopped) 20 | conditions: 21 | - key: command 22 | value: stop 23 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-e1812.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ikea-e1812.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-e1812.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Shortcut E1812 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: command 10 | value: "on" 11 | - key: cluster_id 12 | value: 6 13 | - key: endpoint_id 14 | value: 1 15 | - title: press 2x 16 | conditions: 17 | - key: command 18 | value: "off" 19 | - key: cluster_id 20 | value: 6 21 | - key: endpoint_id 22 | value: 1 23 | - title: hold 24 | conditions: 25 | - key: command 26 | value: "move_with_on_off" 27 | - key: cluster_id 28 | value: 8 29 | - key: endpoint_id 30 | value: 1 31 | - title: hold (released) 32 | conditions: 33 | - key: command 34 | value: "stop_with_on_off" 35 | - key: cluster_id 36 | value: 8 37 | - key: endpoint_id 38 | value: 1 39 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-e2123.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ikea-e2123.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-rodret-wireless-dimmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ikea-rodret-wireless-dimmer.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-rodret-wireless-dimmer.yaml: -------------------------------------------------------------------------------- 1 | name: IKEA RODRET wireless dimmer 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 168 7 | y: 61 8 | width: 50 9 | actions: # Up 10 | - title: press 11 | conditions: 12 | - key: command 13 | value: "on" 14 | - title: hold 15 | conditions: 16 | - key: command 17 | value: "move_with_on_off" 18 | - x: 168 19 | y: 434 20 | width: 50 21 | actions: # Down 22 | - title: press 23 | conditions: 24 | - key: command 25 | value: "off" 26 | - title: hold 27 | conditions: 28 | - key: command 29 | value: "move" 30 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-somrig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ikea-somrig.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-somrig.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Somrig 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 143 7 | y: 76 8 | width: 42 9 | conditions: 10 | - key: endpoint_id 11 | value: 1 12 | actions: 13 | - title: init 14 | conditions: 15 | - key: command 16 | value: initial_press 17 | - title: press 18 | conditions: 19 | - key: command 20 | value: short_release 21 | - title: press 2x 22 | conditions: 23 | - key: command 24 | value: multi_press_complete 25 | - title: hold 26 | conditions: 27 | - key: command 28 | value: long_press 29 | - title: hold (released) 30 | conditions: 31 | - key: command 32 | value: long_release 33 | - x: 143 34 | y: 436 35 | width: 42 36 | conditions: 37 | - key: endpoint_id 38 | value: 2 39 | actions: 40 | - title: init 41 | conditions: 42 | - key: command 43 | value: initial_press 44 | - title: press 45 | conditions: 46 | - key: command 47 | value: short_release 48 | - title: press 2x 49 | conditions: 50 | - key: command 51 | value: multi_press_complete 52 | - title: hold 53 | conditions: 54 | - key: command 55 | value: long_press 56 | - title: hold (released) 57 | conditions: 58 | - key: command 59 | value: long_release 60 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-styrbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ikea-styrbar.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-ikea-tradfri-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-ikea-tradfri-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-inovelli-vzm31-sn-blue-series-2-1-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-inovelli-vzm31-sn-blue-series-2-1-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-namron-two-channel-dimmer-k4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-namron-two-channel-dimmer-k4.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-osram-mini-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-osram-mini-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-osram-mini-switch.yaml: -------------------------------------------------------------------------------- 1 | name: OSRAM Mini Switch 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 31 7 | y: 53 8 | width: 197 9 | height: 115 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: command 14 | value: "on" 15 | - title: hold 16 | conditions: 17 | - key: command 18 | value: move_with_on_off 19 | - title: hold (released) 20 | conditions: 21 | - key: command 22 | value: stop 23 | - key: endpoint_id 24 | value: 1 25 | - x: 85 26 | y: 206 27 | width: 90 28 | height: 90 29 | actions: 30 | - title: press 31 | conditions: 32 | - key: command 33 | value: move_to_level_with_on_off 34 | - title: press (delayed) 35 | conditions: 36 | - key: command 37 | value: move_to_color_temp 38 | - title: hold 39 | conditions: 40 | - key: command 41 | value: move_to_saturation 42 | - title: hold (1s) 43 | conditions: "{{ data.command == 'move_hue' and data.params.move_mode == 1 }}" 44 | - title: hold (released) 45 | conditions: "{{ data.command == 'move_hue' and data.params.move_mode == 0 }}" 46 | - x: 61 47 | y: 370 48 | width: 137 49 | height: 85 50 | actions: 51 | - title: press 52 | conditions: 53 | - key: command 54 | value: "off" 55 | - title: hold 56 | conditions: 57 | - key: command 58 | value: move 59 | - title: hold (released) 60 | conditions: 61 | - key: command 62 | value: stop 63 | - key: endpoint_id 64 | value: 2 65 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-philips-hue-dimmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-philips-hue-dimmer.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-philips-hue-smart-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-philips-hue-smart-button.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-philips-hue-smart-button.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Smart Button 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: init 8 | conditions: 9 | - key: command 10 | value: on_press 11 | - title: press 12 | conditions: 13 | - key: command 14 | value: on_short_release 15 | - title: press 2x 16 | conditions: 17 | - key: command 18 | value: on_double_press 19 | - title: press 3x 20 | conditions: 21 | - key: command 22 | value: on_triple_press 23 | - title: press 4x 24 | conditions: 25 | - key: command 26 | value: on_quadruple_press 27 | - title: press 5x 28 | conditions: 29 | - key: command 30 | value: on_quintuple_press 31 | - title: hold 32 | conditions: 33 | - key: command 34 | value: on_hold 35 | - title: hold (released) 36 | conditions: 37 | - key: command 38 | value: on_long_release 39 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-philips-hue-tap-dial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-philips-hue-tap-dial.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-sengled-smart-light-switch-e1e-g7F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-sengled-smart-light-switch-e1e-g7F.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-sengled-smart-light-switch-e1e-g7F.yaml: -------------------------------------------------------------------------------- 1 | name: Sengled Smart Light Switch E1E-G7FW 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 11 7 | y: 9 8 | width: 121 9 | height: 83 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: command 14 | value: "on" 15 | - title: press 2x 16 | conditions: 17 | - key: command 18 | value: "on_double" 19 | - title: hold 20 | conditions: 21 | - key: command 22 | value: "on_long" 23 | - x: 11 24 | y: 93 25 | width: 121 26 | height: 78 27 | actions: 28 | - title: press 29 | conditions: "{{ data.command == 'step' and data.args == [0,1,0] }}" 30 | - title: hold 31 | conditions: "{{ data.command == 'step' and data.args == [0,2,0] }}" 32 | - x: 11 33 | y: 173 34 | width: 121 35 | height: 78 36 | actions: 37 | - title: press 38 | conditions: "{{ data.command == 'step' and data.args == [1,1,0] }}" 39 | - title: hold 40 | conditions: "{{ data.command == 'step' and data.args == [1,2,0] }}" 41 | - x: 11 42 | y: 251 43 | width: 121 44 | height: 83 45 | actions: 46 | - title: press 47 | conditions: 48 | - key: command 49 | value: "off" 50 | - title: press 2x 51 | conditions: 52 | - key: command 53 | value: "off_double" 54 | - title: hold 55 | conditions: 56 | - key: command 57 | value: "off_long" 58 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-sonoff-snzb-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-sonoff-snzb-01.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-sonoff-snzb-01.yaml: -------------------------------------------------------------------------------- 1 | name: Sonoff SNZB 01 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: command 10 | value: "toggle" 11 | - title: press 2x 12 | conditions: 13 | - key: command 14 | value: "on" 15 | - title: hold 16 | conditions: 17 | - key: command 18 | value: "off" -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.yaml: -------------------------------------------------------------------------------- 1 | name: ThirdReality - Smart Button 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: command 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: command 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: command 18 | value: hold 19 | - title: hold (released) 20 | conditions: 21 | - key: command 22 | value: release -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 3 Button Scene 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 0 7 | y: 0 8 | width: 125 9 | height: 382 10 | conditions: 11 | - key: endpoint_id 12 | value: 1 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: command 17 | value: remote_button_short_press 18 | - title: press 2x 19 | conditions: 20 | - key: command 21 | value: remote_button_double_press 22 | - title: hold 23 | conditions: 24 | - key: command 25 | value: remote_button_long_press 26 | - x: 125 27 | y: 0 28 | width: 125 29 | height: 382 30 | conditions: 31 | - key: endpoint_id 32 | value: 2 33 | actions: 34 | - title: press 35 | conditions: 36 | - key: command 37 | value: remote_button_short_press 38 | - title: press 2x 39 | conditions: 40 | - key: command 41 | value: remote_button_double_press 42 | - title: hold 43 | conditions: 44 | - key: command 45 | value: remote_button_long_press 46 | - x: 250 47 | y: 0 48 | width: 127 49 | height: 382 50 | conditions: 51 | - key: endpoint_id 52 | value: 3 53 | actions: 54 | - title: press 55 | conditions: 56 | - key: command 57 | value: remote_button_short_press 58 | - title: press 2x 59 | conditions: 60 | - key: command 61 | value: remote_button_double_press 62 | - title: hold 63 | conditions: 64 | - key: command 65 | value: remote_button_long_press -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-tuya-4-button-scene-ss6400zb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-tuya-4-button-scene-ss6400zb.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-tuya-4-button-scene-ss6400zb.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 4 Button Scene (SS5300ZB) 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 66 7 | y: 102 8 | width: 32 9 | conditions: 10 | - key: endpoint_id 11 | value: 1 12 | actions: 13 | - title: press 14 | conditions: 15 | - key: command 16 | value: remote_button_short_press 17 | - title: press 2x 18 | conditions: 19 | - key: command 20 | value: remote_button_double_press 21 | - title: hold (released) 22 | conditions: 23 | - key: command 24 | value: remote_button_long_press 25 | - x: 66 26 | y: 204 27 | width: 32 28 | conditions: 29 | - key: endpoint_id 30 | value: 2 31 | actions: 32 | - title: press 33 | conditions: 34 | - key: command 35 | value: remote_button_short_press 36 | - title: press 2x 37 | conditions: 38 | - key: command 39 | value: remote_button_double_press 40 | - title: hold (released) 41 | conditions: 42 | - key: command 43 | value: remote_button_long_press 44 | - x: 66 45 | y: 302 46 | width: 32 47 | conditions: 48 | - key: endpoint_id 49 | value: 3 50 | actions: 51 | - title: press 52 | conditions: 53 | - key: command 54 | value: remote_button_short_press 55 | - title: press 2x 56 | conditions: 57 | - key: command 58 | value: remote_button_double_press 59 | - title: hold (released) 60 | conditions: 61 | - key: command 62 | value: remote_button_long_press 63 | - x: 66 64 | y: 405 65 | width: 32 66 | conditions: 67 | - key: endpoint_id 68 | value: 4 69 | actions: 70 | - title: press 71 | conditions: 72 | - key: command 73 | value: remote_button_short_press 74 | - title: press 2x 75 | conditions: 76 | - key: command 77 | value: remote_button_double_press 78 | - title: hold (released) 79 | conditions: 80 | - key: command 81 | value: remote_button_long_press 82 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-tuya-4-button-scene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-tuya-4-button-scene.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-tuya-4-button-scene.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 4 Button Scene 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 23 7 | y: 23 8 | width: 216 9 | height: 208 10 | conditions: 11 | - key: endpoint_id 12 | value: 1 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: command 17 | value: remote_button_short_press 18 | - title: press 2x 19 | conditions: 20 | - key: command 21 | value: remote_button_double_press 22 | - title: hold 23 | conditions: 24 | - key: command 25 | value: remote_button_long_press 26 | - x: 239 27 | y: 23 28 | width: 216 29 | height: 208 30 | conditions: 31 | - key: endpoint_id 32 | value: 2 33 | actions: 34 | - title: press 35 | conditions: 36 | - key: command 37 | value: remote_button_short_press 38 | - title: press 2x 39 | conditions: 40 | - key: command 41 | value: remote_button_double_press 42 | - title: hold 43 | conditions: 44 | - key: command 45 | value: remote_button_long_press 46 | - x: 23 47 | y: 231 48 | width: 216 49 | height: 208 50 | conditions: 51 | - key: endpoint_id 52 | value: 3 53 | actions: 54 | - title: press 55 | conditions: 56 | - key: command 57 | value: remote_button_short_press 58 | - title: press 2x 59 | conditions: 60 | - key: command 61 | value: remote_button_double_press 62 | - title: hold 63 | conditions: 64 | - key: command 65 | value: remote_button_long_press 66 | - x: 239 67 | y: 231 68 | width: 216 69 | height: 208 70 | conditions: 71 | - key: endpoint_id 72 | value: 4 73 | actions: 74 | - title: press 75 | conditions: 76 | - key: command 77 | value: remote_button_short_press 78 | - title: press 2x 79 | conditions: 80 | - key: command 81 | value: remote_button_double_press 82 | - title: hold 83 | conditions: 84 | - key: command 85 | value: remote_button_long_press -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-tuya-smart-knob-tz3000-abrsvsou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-tuya-smart-knob-tz3000-abrsvsou.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-tuya-smart-knob-tz3000-abrsvsou.yaml: -------------------------------------------------------------------------------- 1 | # Configuration for ZHA Tuya Smart Knob (_TZ3000_abrsvsou) 2 | # commonly found on AliExpress and other online retailers. 3 | 4 | # Following commands are supported: 5 | # - press 6 | # - double press 7 | # - long press 8 | # - rotate left 9 | # - rotate right 10 | 11 | name: TuYa Smart Knob (_TZ3000_abrsvsou/TS004F) 12 | service: ZHA 13 | event_type: zha_event 14 | identifier_key: device_id 15 | buttons: 16 | - actions: 17 | - title: press 18 | conditions: 19 | - key: command 20 | value: toggle 21 | - title: double press 22 | conditions: 23 | - key: command 24 | value: "on" 25 | - title: long press 26 | conditions: 27 | - key: command 28 | value: "off" 29 | - title: rotate left 30 | conditions: 31 | - key: command 32 | value: left 33 | - title: rotate right 34 | conditions: 35 | - key: command 36 | value: right 37 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-xiaomi-double-key-wxkg07lm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-xiaomi-double-key-wxkg07lm.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-xiaomi-double-key-wxkg07lm.yaml: -------------------------------------------------------------------------------- 1 | name: Xiaomi Double Key 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - x: 12 7 | y: 12 8 | width: 238 9 | height: 475 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: command 14 | value: left_single 15 | - title: press 2x 16 | conditions: 17 | - key: command 18 | value: left_double 19 | - title: hold 20 | conditions: 21 | - key: command 22 | value: left_long press 23 | - x: 250 24 | y: 12 25 | width: 238 26 | height: 475 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: command 31 | value: right_single 32 | - title: press 2x 33 | conditions: 34 | - key: command 35 | value: right_double 36 | - title: hold 37 | conditions: 38 | - key: command 39 | value: right_long press 40 | - x: 250 41 | y: 250 42 | width: 75 43 | actions: 44 | - title: both press 45 | conditions: 46 | - key: command 47 | value: both_single 48 | - title: both press 2x 49 | conditions: 50 | - key: command 51 | value: both_double 52 | - title: both hold 53 | conditions: 54 | - key: command 55 | value: both_long press -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-xiaomi-smart-wireless-switch-wxkg01lm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zha-xiaomi-smart-wireless-switch-wxkg01lm.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zha-xiaomi-smart-wireless-switch-wxkg01lm.yaml: -------------------------------------------------------------------------------- 1 | name: Xiaomi Smart Wireless Switch 2 | service: ZHA 3 | event_type: zha_event 4 | identifier_key: device_id 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: args.click_type 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: args.click_type 14 | value: double 15 | - title: press 3x 16 | conditions: 17 | - key: args.click_type 18 | value: triple 19 | - title: press 4x 20 | conditions: 21 | - key: args.click_type 22 | value: quadruple 23 | - title: press >4x 24 | conditions: 25 | - key: args.click_type 26 | value: furious 27 | - title: hold 28 | conditions: 29 | - key: command 30 | value: hold 31 | - title: hold (released) 32 | conditions: 33 | - key: command 34 | value: release -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-1-gang-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-1-gang-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-1-gang-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara D1 1 gang switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: hold -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-2-gang-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-2-gang-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-2-gang-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara D1 2 gang switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 15 7 | y: 14 8 | width: 325 9 | height: 648 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: single_left 15 | - title: press 2x 16 | conditions: 17 | - key: payload 18 | value: double_left 19 | - title: hold 20 | conditions: 21 | - key: payload 22 | value: hold_left 23 | - x: 340 24 | y: 14 25 | width: 325 26 | height: 648 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: payload 31 | value: single_right 32 | - title: press 2x 33 | conditions: 34 | - key: payload 35 | value: double_right 36 | - title: hold 37 | conditions: 38 | - key: payload 39 | value: hold_right 40 | - x: 340 41 | y: 340 42 | width: 100 43 | actions: 44 | - title: both press 45 | conditions: 46 | - key: payload 47 | value: single_both 48 | - title: both press 2x 49 | conditions: 50 | - key: payload 51 | value: double_both 52 | - title: hold 53 | conditions: 54 | - key: payload 55 | value: hold_both 56 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-1-gang-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-1-gang-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-1-gang-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara E1 1 gang switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double 15 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-2-gang-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-2-gang-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-2-gang-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara E1 2 gang switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 11 7 | y: 12 8 | width: 170 9 | height: 333 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: single_left 15 | - title: press 2x 16 | conditions: 17 | - key: payload 18 | value: double_left 19 | - x: 185 20 | y: 12 21 | width: 170 22 | height: 333 23 | actions: 24 | - title: press 25 | conditions: 26 | - key: payload 27 | value: single_right 28 | - title: press 2x 29 | conditions: 30 | - key: payload 31 | value: double_right 32 | - x: 182 33 | y: 183 34 | width: 50 35 | actions: 36 | - title: both press 37 | conditions: 38 | - key: payload 39 | value: single_both 40 | - title: both press 2x 41 | conditions: 42 | - key: payload 43 | value: double_both 44 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-3-gang-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-3-gang-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-3-gang-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara E1 3 gang switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 11 7 | y: 12 8 | width: 114 9 | height: 333 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: single_left 15 | - title: press 2x 16 | conditions: 17 | - key: payload 18 | value: double_left 19 | - x: 125 20 | y: 12 21 | width: 114 22 | height: 333 23 | actions: 24 | - title: press 25 | conditions: 26 | - key: payload 27 | value: single_center 28 | - title: press 2x 29 | conditions: 30 | - key: payload 31 | value: double_center 32 | - x: 240 33 | y: 12 34 | width: 114 35 | height: 333 36 | actions: 37 | - title: press 38 | conditions: 39 | - key: payload 40 | value: single_right 41 | - title: press 2x 42 | conditions: 43 | - key: payload 44 | value: double_right 45 | - x: 182 46 | y: 183 47 | width: 50 48 | actions: 49 | - title: both press 50 | conditions: 51 | - key: payload 52 | value: single_both 53 | - title: both press 2x 54 | conditions: 55 | - key: payload 56 | value: double_both 57 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-wireless-mini-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-wireless-mini-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-e1-wireless-mini-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara E1 Wireless Mini Switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: button_1_single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: button_1_double 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: button_1_hold 19 | - title: hold (released) 20 | conditions: 21 | - key: payload 22 | value: button_1_release 23 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h1-double-rocker-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h1-double-rocker-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h1-double-rocker-remote.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara H1 Double Rocker Remote 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 0 7 | y: 0 8 | width: 250 9 | height: 500 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: single_left 15 | - title: press 2x 16 | conditions: 17 | - key: payload 18 | value: double_left 19 | - title: press 3x 20 | conditions: 21 | - key: payload 22 | value: triple_left 23 | - title: hold 24 | conditions: 25 | - key: payload 26 | value: hold_left 27 | - x: 250 28 | y: 0 29 | width: 250 30 | height: 500 31 | actions: 32 | - title: press 33 | conditions: 34 | - key: payload 35 | value: single_right 36 | - title: press 2x 37 | conditions: 38 | - key: payload 39 | value: double_right 40 | - title: press 3x 41 | conditions: 42 | - key: payload 43 | value: triple_right 44 | - title: hold 45 | conditions: 46 | - key: payload 47 | value: hold_right 48 | - x: 250 49 | y: 360 50 | width: 80 51 | actions: 52 | - title: both press 53 | conditions: 54 | - key: payload 55 | value: single_both 56 | - title: both press 2x 57 | conditions: 58 | - key: payload 59 | value: double_both 60 | - title: both press 3x 61 | conditions: 62 | - key: payload 63 | value: triple_both 64 | - title: both hold 65 | conditions: 66 | - key: payload 67 | value: hold_both 68 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-opple-1x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-opple-1x2.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-opple-1x2.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara Opple 1x2 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 69 7 | y: 63 8 | width: 157 9 | height: 327 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: button_1_single 15 | - title: press 2x 16 | conditions: 17 | - key: payload 18 | value: button_1_double 19 | - title: press 3x 20 | conditions: 21 | - key: payload 22 | value: button_1_triple 23 | - title: hold 24 | conditions: 25 | - key: payload 26 | value: button_1_hold 27 | - title: hold (released) 28 | conditions: 29 | - key: payload 30 | value: button_1_release 31 | - x: 227 32 | y: 63 33 | width: 157 34 | height: 327 35 | actions: 36 | - title: press 37 | conditions: 38 | - key: payload 39 | value: button_2_single 40 | - title: press 2x 41 | conditions: 42 | - key: payload 43 | value: button_2_double 44 | - title: press 3x 45 | conditions: 46 | - key: payload 47 | value: button_2_triple 48 | - title: hold 49 | conditions: 50 | - key: payload 51 | value: button_2_hold 52 | - title: hold (released) 53 | conditions: 54 | - key: payload 55 | value: button_2_release 56 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-opple-2x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-opple-2x2.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-opple-3x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-opple-3x2.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-wireless-mini-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-wireless-mini-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-wireless-mini-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Aqara Wireless Mini Switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: hold 19 | - title: hold (released) 20 | conditions: 21 | - key: payload 22 | value: release 23 | - title: shake 24 | conditions: 25 | - key: payload 26 | value: shake 27 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-busch-jaeger-wall-switch-673x-series.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-busch-jaeger-wall-switch-673x-series.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-easyiot-ih-k663.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-easyiot-ih-k663.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-easyiot-ih-k663.yaml: -------------------------------------------------------------------------------- 1 | name: EasyIoT IH-K663 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ecodim-ed10014-8button-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ecodim-ed10014-8button-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-enocean-ptm215z.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-enocean-ptm215z.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-enocean-ptm215z.yaml: -------------------------------------------------------------------------------- 1 | name: EnOcean (PTM 215Z) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 79 7 | y: 76 8 | width: 171 9 | height: 173 10 | actions: 11 | - title: init 12 | conditions: 13 | - key: payload 14 | value: press_1 15 | - title: press 16 | conditions: 17 | - key: payload 18 | value: release_1 19 | - x: 250 20 | y: 76 21 | width: 171 22 | height: 173 23 | actions: 24 | - title: init 25 | conditions: 26 | - key: payload 27 | value: press_3 28 | - title: press 29 | conditions: 30 | - key: payload 31 | value: release_3 32 | - x: 250 33 | y: 162 34 | width: 40 35 | actions: 36 | - title: both init 37 | conditions: 38 | - key: payload 39 | value: press_1_and_3 40 | - title: both press 41 | conditions: 42 | - key: payload 43 | value: release_1_and_3 44 | - x: 79 45 | y: 249 46 | width: 171 47 | height: 173 48 | actions: 49 | - title: init 50 | conditions: 51 | - key: payload 52 | value: press_2 53 | - title: press 54 | conditions: 55 | - key: payload 56 | value: release_2 57 | - x: 250 58 | y: 249 59 | width: 171 60 | height: 173 61 | actions: 62 | - title: init 63 | conditions: 64 | - key: payload 65 | value: press_4 66 | - title: press 67 | conditions: 68 | - key: payload 69 | value: release_4 70 | - x: 250 71 | y: 336 72 | width: 40 73 | actions: 74 | - title: both init 75 | conditions: 76 | - key: payload 77 | value: press_2_and_4 78 | - title: both press 79 | conditions: 80 | - key: payload 81 | value: release_2_and_4 82 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ers-10tzbvk-aa-event.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ers-10tzbvk-aa-event.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ers-10tzbvk-aa-event.yaml: -------------------------------------------------------------------------------- 1 | # Event Mode triggering 2 | # https://www.zigbee2mqtt.io/devices/ERS-10TZBVK-AA.html 3 | 4 | name: ERS-10TZBVK-AA TS004F - Event setting 5 | service: Zigbee2MQTT 6 | event_type: mqtt 7 | mqtt_topic_format: zigbee2mqtt/+/action 8 | buttons: 9 | - actions: 10 | - title: press 11 | conditions: 12 | - key: payload 13 | value: single 14 | - title: press 2x 15 | conditions: 16 | - key: payload 17 | value: double 18 | - title: hold 19 | conditions: 20 | - key: payload 21 | value: hold 22 | - title: rotate right 23 | conditions: 24 | - key: payload 25 | value: rotate_right 26 | - title: rotate left 27 | conditions: 28 | - key: payload 29 | value: rotate_left 30 | 31 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-icasa-pulses8-iczb-kpd18s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-icasa-pulses8-iczb-kpd18s.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1743.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1743.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1743.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea On/Off Remote E1743 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - d: "M 0 150 c 0 0 5 -145 145 -145 l 195 0 c 0 0 145 0 145 145 l 0 94 l -485 0 Z" 7 | actions: 8 | - title: press 9 | conditions: 10 | - key: payload 11 | value: "on" 12 | - title: hold 13 | conditions: 14 | - key: payload 15 | value: brightness_move_up 16 | - title: hold (released) 17 | conditions: 18 | - key: payload 19 | value: brightness_stop 20 | - d: "M 0 245 L0,348 c 0 0 5 135 135 135 l 205 0 c 0 0 145 0 145 -145 l 0 -94 Z" 21 | actions: 22 | - title: press 23 | conditions: 24 | - key: payload 25 | value: "off" 26 | - title: hold 27 | conditions: 28 | - key: payload 29 | value: brightness_move_down 30 | - title: hold (released) 31 | conditions: 32 | - key: payload 33 | value: brightness_stop 34 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1744.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1744.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1744.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea SYMFONISK Sound remote (E1744) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: toggle 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: brightness_step_up 15 | - title: press 3x 16 | conditions: 17 | - key: payload 18 | value: brightness_step_down 19 | - title: rotate left 20 | conditions: 21 | - key: payload 22 | value: brightness_move_down 23 | - title: rotate right 24 | conditions: 25 | - key: payload 26 | value: brightness_move_up 27 | - title: rotate (stopped) 28 | conditions: 29 | - key: payload 30 | value: brightness_stop 31 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1766.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1766.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1766.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Open/Close Remote E1766 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | ## Those buttons only accept single press actions 7 | - d: "M 3 135 c 0 0 5 -150 140 -140 l 190 0 c 0 0 145 0 145 145 l 0 94 l -475 0 Z" 8 | actions: 9 | - title: press 10 | conditions: 11 | - key: payload 12 | value: open 13 | - d: "M 3 236 L3 340 c 0 0 5 135 135 135 l 195 0 c 0 0 145 0 145 -145 l 0 -94 Z" 14 | actions: 15 | - title: press 16 | conditions: 17 | - key: payload 18 | value: close 19 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1812.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1812.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e1812.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea TRADFRI shortcut button E1812 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: 'on' 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: 'off' 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: brightness_move_up 19 | - title: hold (released) 20 | conditions: 21 | - key: payload 22 | value: brightness_stop 23 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e2123.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e2123.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e2201.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e2201.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e2201.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Rodret 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | info: | 6 | Hold (released) for both buttons receives the same action event 7 | buttons: 8 | - x: 143 9 | y: 76 10 | width: 42 11 | actions: 12 | - title: press 13 | conditions: 14 | - key: payload 15 | value: 'on' 16 | - title: hold 17 | conditions: 18 | - key: payload 19 | value: brightness_move_up 20 | - title: hold (released) 21 | conditions: 22 | - key: payload 23 | value: brightness_stop 24 | - x: 143 25 | y: 436 26 | width: 42 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: payload 31 | value: 'off' 32 | - title: hold 33 | conditions: 34 | - key: payload 35 | value: brightness_move_down 36 | - title: hold (released) 37 | conditions: 38 | - key: payload 39 | value: brightness_stop 40 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e2213.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e2213.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-e2213.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Somrig 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 143 7 | y: 76 8 | width: 42 9 | actions: 10 | - title: init 11 | conditions: 12 | - key: payload 13 | value: 1_initial_press 14 | - title: press 15 | conditions: 16 | - key: payload 17 | value: 1_short_release 18 | - title: press 2x 19 | conditions: 20 | - key: payload 21 | value: 1_double_press 22 | - title: hold 23 | conditions: 24 | - key: payload 25 | value: 1_long_press 26 | - title: hold (released) 27 | conditions: 28 | - key: payload 29 | value: 1_long_release 30 | - x: 143 31 | y: 436 32 | width: 42 33 | actions: 34 | - title: init 35 | conditions: 36 | - key: payload 37 | value: 2_initial_press 38 | - title: press 39 | conditions: 40 | - key: payload 41 | value: 2_short_release 42 | - title: press 2x 43 | conditions: 44 | - key: payload 45 | value: 2_double_press 46 | - title: hold 47 | conditions: 48 | - key: payload 49 | value: 2_long_press 50 | - title: hold (released) 51 | conditions: 52 | - key: payload 53 | value: 2_long_release -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-styrbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-styrbar.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-styrbar.yaml: -------------------------------------------------------------------------------- 1 | name: Ikea Styrbar 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | info: | 6 | Hold (released) for both brightness buttons receives the same action event 7 | buttons: 8 | ## Not sure why the buttons are back to front and illogical by their numbers?? 9 | - x: 247 10 | y: 61 11 | width: 50 12 | actions: 13 | - title: press 14 | conditions: 15 | - key: payload 16 | value: 'on' 17 | - title: hold 18 | conditions: 19 | - key: payload 20 | value: brightness_move_up 21 | - title: hold (released) 22 | conditions: 23 | - key: payload 24 | value: brightness_stop 25 | - x: 442 26 | y: 248 27 | width: 50 28 | actions: 29 | - title: press 30 | conditions: 31 | - key: payload 32 | value: arrow_right_click 33 | - title: hold 34 | conditions: 35 | - key: payload 36 | value: arrow_right_hold 37 | - title: hold (released) 38 | conditions: 39 | - key: payload 40 | value: arrow_right_release 41 | - x: 245 42 | y: 434 43 | width: 50 44 | actions: 45 | - title: press 46 | conditions: 47 | - key: payload 48 | value: 'off' 49 | - title: hold 50 | conditions: 51 | - key: payload 52 | value: brightness_move_down 53 | - title: hold (released) 54 | conditions: 55 | - key: payload 56 | value: brightness_stop 57 | - x: 52 58 | y: 248 59 | width: 50 60 | actions: 61 | - title: press 62 | conditions: 63 | - key: payload 64 | value: arrow_left_click 65 | - title: hold 66 | conditions: 67 | - key: payload 68 | value: arrow_left_hold 69 | - title: hold (released) 70 | conditions: 71 | - key: payload 72 | value: arrow_left_release -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-tradfri-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-ikea-tradfri-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-inovelli-vzm31-sn-blue-series-2-1-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-inovelli-vzm31-sn-blue-series-2-1-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-lidl-hg06668.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-lidl-hg06668.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-lidl-hg06668.yaml: -------------------------------------------------------------------------------- 1 | name: Lidl (HG06668) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: pressed 11 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-lidl-livarno-dimmer-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-lidl-livarno-dimmer-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-lidl-livarno-dimmer-switch.yaml: -------------------------------------------------------------------------------- 1 | name: Lidl Livarno Dimmer Switch (FB21-001) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 0 7 | y: 0 8 | width: 150 9 | height: 124 10 | actions: 11 | - title: init 12 | conditions: 13 | - key: payload 14 | value: 'on' 15 | - title: press 16 | conditions: 17 | - key: payload 18 | value: switch_scene 19 | - x: 0 20 | y: 125 21 | width: 75 22 | height: 158 23 | actions: 24 | - title: press 25 | conditions: 26 | - key: payload 27 | value: brightness_step_up 28 | - title: hold 29 | conditions: 30 | - key: payload 31 | value: brightness_move_up 32 | - title: hold (released) 33 | conditions: 34 | - key: payload 35 | value: brightness_stop 36 | - x: 75 37 | y: 125 38 | width: 75 39 | height: 158 40 | actions: 41 | - title: press 42 | conditions: 43 | - key: payload 44 | value: brightness_step_down 45 | - title: hold 46 | conditions: 47 | - key: payload 48 | value: brightness_move_down 49 | - title: hold (released) 50 | conditions: 51 | - key: payload 52 | value: brightness_stop 53 | - x: 0 54 | y: 284 55 | width: 150 56 | height: 125 57 | actions: 58 | - title: press 59 | conditions: 60 | - key: payload 61 | value: 'off' 62 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-lutron-aurora.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-lutron-aurora.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-lutron-aurora.yaml: -------------------------------------------------------------------------------- 1 | name: Lutron Aurora Dimmer 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+ 5 | info: Make sure to set your MQTT topic to not include "/action" at the end. These dimmer switches only send one kind of command, so they are best set up only to control light(s) with a "Press" sending a toggle service and a "Rotate" sending an on service using "{{ data.action_level }}" to set brightness level between 0 and 255. They can also be used as a simple single-press button with another function assigned to any rotation (non-directional). 6 | conditions: 7 | - key: action 8 | value: 'brightness_move_to_level' 9 | buttons: 10 | - actions: 11 | - title: press 12 | conditions: 13 | - key: action_transition_time 14 | value: 0.07 15 | - title: rotate 16 | conditions: 17 | - key: action_transition_time 18 | value: 0.02 19 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-moes-4-button-scene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-moes-4-button-scene.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-moes-4-button-scene.yaml: -------------------------------------------------------------------------------- 1 | name: Moes 4 Button Scene (TS0044) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | ## Not sure why the buttons are back to front and illogical by their numbers?? --- Looks like Moes fixes this for me. I've cloned this from TuYa 4 Button Scene (TS0044) and just fixed the numbering. 7 | - x: 23 8 | y: 23 9 | width: 216 10 | height: 208 11 | actions: 12 | - title: press 13 | conditions: 14 | - key: payload 15 | value: 1_single 16 | - title: press 2x 17 | conditions: 18 | - key: payload 19 | value: 1_double 20 | - title: hold 21 | conditions: 22 | - key: payload 23 | value: 1_hold 24 | - x: 239 25 | y: 23 26 | width: 216 27 | height: 208 28 | actions: 29 | - title: press 30 | conditions: 31 | - key: payload 32 | value: 2_single 33 | - title: press 2x 34 | conditions: 35 | - key: payload 36 | value: 2_double 37 | - title: hold 38 | conditions: 39 | - key: payload 40 | value: 2_hold 41 | - x: 23 42 | y: 231 43 | width: 216 44 | height: 208 45 | actions: 46 | - title: press 47 | conditions: 48 | - key: payload 49 | value: 3_single 50 | - title: press 2x 51 | conditions: 52 | - key: payload 53 | value: 3_double 54 | - title: hold 55 | conditions: 56 | - key: payload 57 | value: 3_hold 58 | - x: 239 59 | y: 231 60 | width: 216 61 | height: 208 62 | actions: 63 | - title: press 64 | conditions: 65 | - key: payload 66 | value: 4_single 67 | - title: press 2x 68 | conditions: 69 | - key: payload 70 | value: 4_double 71 | - title: hold 72 | conditions: 73 | - key: payload 74 | value: 4_hold 75 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-mueller-licht-tint-remote-404049.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-mueller-licht-tint-remote-404049.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-osram-smartplus-mini-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-osram-smartplus-mini-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-osram-smartplus-mini-switch.yaml: -------------------------------------------------------------------------------- 1 | name: OSRAM Smart+ Mini Switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 90 7 | y: 212 8 | width: 79 9 | height: 79 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: brightness_move_to_level 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: move_to_saturation 19 | - title: hold (released) 20 | conditions: 21 | - key: payload 22 | value: hue_stop 23 | - x: 50 24 | y: 57 25 | width: 159 26 | height: 115 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: payload 31 | value: 'on' 32 | - title: hold 33 | conditions: 34 | - key: payload 35 | value: brightness_move_up 36 | - title: hold (released) 37 | conditions: 38 | - key: payload 39 | value: brightness_stop 40 | - x: 80 41 | y: 369 42 | width: 99 43 | height: 85 44 | actions: 45 | - title: press 46 | conditions: 47 | - key: payload 48 | value: 'off' 49 | - title: hold 50 | conditions: 51 | - key: payload 52 | value: brightness_move_down 53 | - title: hold (released) 54 | conditions: 55 | - key: payload 56 | value: brightness_stop 57 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-paulmann-50134-2x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-paulmann-50134-2x2.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-paulmann-50134-2x2.yaml: -------------------------------------------------------------------------------- 1 | name: Paulmann 50134 2x2 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 60 7 | y: 60 8 | width: 85 9 | height: 140 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: on_1 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: brightness_move_up_1 19 | - title: hold (released) 20 | conditions: 21 | - key: payload 22 | value: brightness_stop_1 23 | - x: 60 24 | y: 200 25 | width: 85 26 | height: 140 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: payload 31 | value: off_1 32 | - title: hold 33 | conditions: 34 | - key: payload 35 | value: brightness_move_down_1 36 | - title: hold (released) 37 | conditions: 38 | - key: payload 39 | value: brightness_stop_1 40 | - x: 255 41 | y: 60 42 | width: 85 43 | height: 140 44 | actions: 45 | - title: press 46 | conditions: 47 | - key: payload 48 | value: on_2 49 | - title: hold 50 | conditions: 51 | - key: payload 52 | value: brightness_move_up_2 53 | - title: hold (released) 54 | conditions: 55 | - key: payload 56 | value: brightness_stop_2 57 | - x: 255 58 | y: 200 59 | width: 85 60 | height: 140 61 | actions: 62 | - title: press 63 | conditions: 64 | - key: payload 65 | value: off_2 66 | - title: hold 67 | conditions: 68 | - key: payload 69 | value: brightness_move_down_2 70 | - title: hold (released) 71 | conditions: 72 | - key: payload 73 | value: brightness_stop_2 74 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-dimmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-dimmer.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-dimmer.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Dimmer v1/v2 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 2 7 | y: 2 8 | width: 189 9 | height: 159 10 | actions: 11 | - title: init 12 | conditions: 13 | - key: payload 14 | value: on_press 15 | - title: press 16 | conditions: 17 | - key: payload 18 | value: on_press_release 19 | - title: hold 20 | conditions: 21 | - key: payload 22 | value: on_hold 23 | - title: hold (released) 24 | conditions: 25 | - key: payload 26 | value: on_hold_release 27 | - x: 2 28 | y: 161 29 | width: 189 30 | height: 90 31 | actions: 32 | - title: init 33 | conditions: 34 | - key: payload 35 | value: up_press 36 | - title: press 37 | conditions: 38 | - key: payload 39 | value: up_press_release 40 | - title: hold 41 | conditions: 42 | - key: payload 43 | value: up_hold 44 | - title: hold (released) 45 | conditions: 46 | - key: payload 47 | value: up_hold_release 48 | - x: 2 49 | y: 251 50 | width: 189 51 | height: 90 52 | actions: 53 | - title: init 54 | conditions: 55 | - key: payload 56 | value: down_press 57 | - title: press 58 | conditions: 59 | - key: payload 60 | value: down_press_release 61 | - title: hold 62 | conditions: 63 | - key: payload 64 | value: down_hold 65 | - title: hold (released) 66 | conditions: 67 | - key: payload 68 | value: down_hold_release 69 | - x: 2 70 | y: 341 71 | width: 189 72 | height: 159 73 | actions: 74 | - title: init 75 | conditions: 76 | - key: payload 77 | value: off_press 78 | - title: press 79 | conditions: 80 | - key: payload 81 | value: off_press_release 82 | - title: hold 83 | conditions: 84 | - key: payload 85 | value: off_hold 86 | - title: hold (released) 87 | conditions: 88 | - key: payload 89 | value: off_hold_release 90 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-smart-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-smart-button.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-smart-button.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Smart Button 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: init 8 | conditions: 9 | - key: payload 10 | value: press 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: release 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: hold 19 | - title: step down 20 | conditions: 21 | - key: payload 22 | value: brightness_step_up 23 | - title: step up 24 | conditions: 25 | - key: payload 26 | value: brightness_step_down 27 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-tap-dial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-tap-dial.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-tap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-tap.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-tap.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Tap 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 174 7 | y: 174 8 | width: 161 9 | actions: 10 | - title: press 11 | conditions: 12 | - key: payload 13 | value: press_1 14 | - x: 87 15 | y: 176 16 | width: 46 17 | actions: 18 | - title: press 19 | conditions: 20 | - key: payload 21 | value: press_2 22 | - x: 178 23 | y: 263 24 | width: 46 25 | actions: 26 | - title: press 27 | conditions: 28 | - key: payload 29 | value: press_3 30 | - x: 265 31 | y: 173 32 | width: 46 33 | actions: 34 | - title: press 35 | conditions: 36 | - key: payload 37 | value: press_4 -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-wall-switch-module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-wall-switch-module.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-philips-hue-wall-switch-module.yaml: -------------------------------------------------------------------------------- 1 | name: Philips Hue Wall Switch Module 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | info: Actions HOLD and HOLD (RELEASED) will only work in rocker mode. 6 | buttons: 7 | - x: 112 8 | y: 140 9 | width: 88 10 | height: 88 11 | actions: 12 | - title: init 13 | conditions: 14 | - key: payload 15 | value: left_press 16 | - title: press 17 | conditions: 18 | - key: payload 19 | value: left_press_release 20 | - title: hold 21 | conditions: 22 | - key: payload 23 | value: left_hold 24 | 25 | - x: 112 26 | y: 270 27 | width: 88 28 | height: 88 29 | actions: 30 | - title: init 31 | conditions: 32 | - key: payload 33 | value: right_press 34 | - title: press 35 | conditions: 36 | - key: payload 37 | value: right_press_release 38 | - title: hold 39 | conditions: 40 | - key: payload 41 | value: right_hold 42 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-silvercrest-smart-button-ts004f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-silvercrest-smart-button-ts004f.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-silvercrest-smart-button-ts004f.yaml: -------------------------------------------------------------------------------- 1 | name: Silvercrest smart button (TS004F) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: 'on' 11 | 12 | - title: press 2x 13 | conditions: 14 | - key: payload 15 | value: 'off' 16 | 17 | - title: hold (step up) 18 | conditions: 19 | - key: payload 20 | value: brightness_step_up 21 | 22 | - title: hold (step down) 23 | conditions: 24 | - key: payload 25 | value: brightness_step_down 26 | 27 | - title: hold (released) 28 | conditions: 29 | - key: payload 30 | value: brightness_stop -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-smartthings-smart-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-smartthings-smart-button.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-smartthings-smart-button.yaml: -------------------------------------------------------------------------------- 1 | name: SmartThings Smart Button 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: double press 12 | conditions: 13 | - key: payload 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: hold -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-sonoff-snzb-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-sonoff-snzb-01.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-sonoff-snzb-01.yaml: -------------------------------------------------------------------------------- 1 | name: Sonoff SNZB 01 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: long -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-sonoff-snzb-01p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-sonoff-snzb-01p.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-sonoff-snzb-01p.yaml: -------------------------------------------------------------------------------- 1 | name: Sonoff SNZB-01P 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: long -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tint-remote-control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tint-remote-control.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-trust-remote-control-zyct-202.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-trust-remote-control-zyct-202.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-trust-remote-control-zyct-202.yaml: -------------------------------------------------------------------------------- 1 | name: Trust Remote Control (ZYCT-202) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 9 7 | y: 8 8 | width: 172 9 | height: 120 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: "on" 15 | - x: 9 16 | y: 373 17 | width: 172 18 | height: 118 19 | actions: 20 | - title: press 21 | conditions: 22 | - key: payload 23 | value: "off" 24 | - x: 9 25 | y: 128 26 | width: 87 27 | height: 123 28 | actions: 29 | - title: hold 30 | conditions: 31 | - key: payload 32 | value: brightness_move_up 33 | - title: hold (released) 34 | conditions: 35 | - key: payload 36 | value: brightness_stop 37 | - x: 9 38 | y: 251 39 | width: 87 40 | height: 122 41 | actions: 42 | - title: hold 43 | conditions: 44 | - key: payload 45 | value: brightness_move_down 46 | - title: hold (released) 47 | conditions: 48 | - key: payload 49 | value: brightness_stop -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-1-gang-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-1-gang-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-1-gang-remote.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 1 Gang Remote 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: hold -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-1-gang-switch-ts0011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-1-gang-switch-ts0011.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-1-gang-switch-ts0011.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 1 Gang Switch (TS0011) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | info: You must enable state_action in Zigbee2MQTT "Settings (specific)" for device to use this blueprint 6 | buttons: 7 | - actions: 8 | - title: "on" 9 | conditions: 10 | - key: payload 11 | value: "on" 12 | - title: "off" 13 | conditions: 14 | - key: payload 15 | value: "off" 16 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-buttons-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-buttons-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-buttons-remote.yaml: -------------------------------------------------------------------------------- 1 | name: Tuya 2 buttons TS0042 and LKWS211 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 89 7 | y: 66 8 | width: 252 9 | height: 135 10 | actions: 11 | - title: press 12 | conditions: "{{ data.payload in ['1_single', 'button_1_single'] }}" 13 | - title: press 2x 14 | conditions: "{{ data.payload in ['1_double', 'button_1_double'] }}" 15 | - title: hold 16 | conditions: "{{ data.payload in ['1_hold', 'button_1_hold'] }}" 17 | - x: 89 18 | y: 211 19 | width: 252 20 | height: 109 21 | actions: 22 | - title: press 23 | conditions: "{{ data.payload in ['2_single', 'button_2_single'] }}" 24 | - title: press 2x 25 | conditions: "{{ data.payload in ['2_double', 'button_2_double'] }}" 26 | - title: hold 27 | conditions: "{{ data.payload in ['2_hold', 'button_2_hold'] }}" -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-gang-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-gang-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-gang-remote.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 2 Gang Remote 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 0 7 | y: 0 8 | width: 190 9 | height: 385 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: 1_single 15 | - title: press 2x 16 | conditions: 17 | - key: payload 18 | value: 1_double 19 | - title: hold 20 | conditions: 21 | - key: payload 22 | value: 1_hold 23 | - x: 190 24 | y: 0 25 | width: 190 26 | height: 385 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: payload 31 | value: 2_single 32 | - title: press 2x 33 | conditions: 34 | - key: payload 35 | value: 2_double 36 | - title: hold 37 | conditions: 38 | - key: payload 39 | value: 2_hold -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-gang-switch-ts0012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-gang-switch-ts0012.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-2-gang-switch-ts0012.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 2 Gang Switch (TS0012) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | info: You must enable state_action in Zigbee2MQTT "Settings (specific)" for device to use this blueprint 6 | buttons: 7 | - d: "M 4.0119862,362.79818 13.755381,29.230185 c 0,0 0.573141,-13.18224 11.462818,-13.18224 10.889677,0 131.822401,-5.731409 131.822401,-5.731409 0,0 -20.05993,256.767114 -14.90166,389.735804 L 11.462818,375.40728 c 0,0 -8.5971136,-5.15827 -7.4508318,-12.6091 z" 8 | actions: 9 | - title: "on" 10 | conditions: 11 | - key: payload 12 | value: on_left 13 | - title: "off" 14 | conditions: 15 | - key: payload 16 | value: off_left 17 | - d: "M 322.10518,424.12426 341.01883,14.328522 c 0,0 2.8657,-10.8896766 -9.17026,-10.8896766 -7.45083,0 -174.80797,6.8776906 -174.80797,6.8776906 0,0 -20.05993,256.767114 -14.90166,389.735804 l 165.63772,33.24217 c 0,0 12.03596,1.14628 14.32852,-9.17025 z" 18 | actions: 19 | - title: "on" 20 | conditions: 21 | - key: payload 22 | value: on_right 23 | - title: "off" 24 | conditions: 25 | - key: payload 26 | value: off_right 27 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-3-gang-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-3-gang-remote.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-3-gang-remote.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 3 Gang Remote 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 0 7 | y: 0 8 | width: 125 9 | height: 382 10 | actions: 11 | - title: press 12 | conditions: 13 | - key: payload 14 | value: 1_single 15 | - title: press 2x 16 | conditions: 17 | - key: payload 18 | value: 1_double 19 | - title: hold 20 | conditions: 21 | - key: payload 22 | value: 1_hold 23 | - x: 125 24 | y: 0 25 | width: 125 26 | height: 382 27 | actions: 28 | - title: press 29 | conditions: 30 | - key: payload 31 | value: 2_single 32 | - title: press 2x 33 | conditions: 34 | - key: payload 35 | value: 2_double 36 | - title: hold 37 | conditions: 38 | - key: payload 39 | value: 2_hold 40 | - x: 250 41 | y: 0 42 | width: 127 43 | height: 382 44 | actions: 45 | - title: press 46 | conditions: 47 | - key: payload 48 | value: 3_single 49 | - title: press 2x 50 | conditions: 51 | - key: payload 52 | value: 3_double 53 | - title: hold 54 | conditions: 55 | - key: payload 56 | value: 3_hold 57 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-4-button-scene-ss6400zb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-4-button-scene-ss6400zb.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-4-button-scene-ss6400zb.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 4 Button Scene (SS5300ZB) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - x: 66 7 | y: 102 8 | width: 32 9 | actions: 10 | - title: press 11 | conditions: 12 | - key: payload 13 | value: 1_single 14 | - title: press 2x 15 | conditions: 16 | - key: payload 17 | value: 1_double 18 | - title: hold 19 | conditions: 20 | - key: payload 21 | value: 1_hold 22 | - x: 66 23 | y: 204 24 | width: 32 25 | actions: 26 | - title: press 27 | conditions: 28 | - key: payload 29 | value: 2_single 30 | - title: press 2x 31 | conditions: 32 | - key: payload 33 | value: 2_double 34 | - title: hold 35 | conditions: 36 | - key: payload 37 | value: 2_hold 38 | - x: 66 39 | y: 302 40 | width: 32 41 | actions: 42 | - title: press 43 | conditions: 44 | - key: payload 45 | value: 3_single 46 | - title: press 2x 47 | conditions: 48 | - key: payload 49 | value: 3_double 50 | - title: hold 51 | conditions: 52 | - key: payload 53 | value: 3_hold 54 | - x: 66 55 | y: 405 56 | width: 32 57 | actions: 58 | - title: press 59 | conditions: 60 | - key: payload 61 | value: 4_single 62 | - title: press 2x 63 | conditions: 64 | - key: payload 65 | value: 4_double 66 | - title: hold 67 | conditions: 68 | - key: payload 69 | value: 4_hold 70 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-4-button-scene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-4-button-scene.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-4-button-scene.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa 4 Button Scene (TS0044) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | ## Not sure why the buttons are back to front and illogical by their numbers?? 7 | - x: 23 8 | y: 23 9 | width: 216 10 | height: 208 11 | actions: 12 | - title: press 13 | conditions: 14 | - key: payload 15 | value: 4_single 16 | - title: press 2x 17 | conditions: 18 | - key: payload 19 | value: 4_double 20 | - title: hold 21 | conditions: 22 | - key: payload 23 | value: 4_hold 24 | - x: 239 25 | y: 23 26 | width: 216 27 | height: 208 28 | actions: 29 | - title: press 30 | conditions: 31 | - key: payload 32 | value: 3_single 33 | - title: press 2x 34 | conditions: 35 | - key: payload 36 | value: 3_double 37 | - title: hold 38 | conditions: 39 | - key: payload 40 | value: 3_hold 41 | - x: 23 42 | y: 231 43 | width: 216 44 | height: 208 45 | actions: 46 | - title: press 47 | conditions: 48 | - key: payload 49 | value: 1_single 50 | - title: press 2x 51 | conditions: 52 | - key: payload 53 | value: 1_double 54 | - title: hold 55 | conditions: 56 | - key: payload 57 | value: 1_hold 58 | - x: 239 59 | y: 231 60 | width: 216 61 | height: 208 62 | actions: 63 | - title: press 64 | conditions: 65 | - key: payload 66 | value: 2_single 67 | - title: press 2x 68 | conditions: 69 | - key: payload 70 | value: 2_double 71 | - title: hold 72 | conditions: 73 | - key: payload 74 | value: 2_hold -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-6-button-scene-ts0046.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-6-button-scene-ts0046.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-round-button-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-round-button-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-round-button-switch.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa Round Button Switch 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double 15 | - title: hold 16 | conditions: 17 | - key: payload 18 | value: hold -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-sos-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-sos-button.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-tuya-sos-button.yaml: -------------------------------------------------------------------------------- 1 | name: TuYa SOS Button 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: emergency -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-xiaomi-double-key-wxkg07lm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-xiaomi-double-key-wxkg07lm.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-xiaomi-double-key-wxkg07lm.yaml: -------------------------------------------------------------------------------- 1 | name: Xiaomi Double Key (WXKG07LM) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | info: Ensure legacy is off 6 | buttons: 7 | - x: 12 8 | y: 12 9 | width: 238 10 | height: 475 11 | actions: 12 | - title: press 13 | conditions: 14 | - key: payload 15 | value: single_left 16 | - title: press 2x 17 | conditions: 18 | - key: payload 19 | value: double_left 20 | - title: hold 21 | conditions: 22 | - key: payload 23 | value: hold_left 24 | - x: 250 25 | y: 12 26 | width: 238 27 | height: 475 28 | actions: 29 | - title: press 30 | conditions: 31 | - key: payload 32 | value: single_right 33 | - title: press 2x 34 | conditions: 35 | - key: payload 36 | value: double_right 37 | - title: hold 38 | conditions: 39 | - key: payload 40 | value: hold_right 41 | - x: 250 42 | y: 250 43 | width: 75 44 | actions: 45 | - title: both press 46 | conditions: 47 | - key: payload 48 | value: single_both 49 | - title: both press 2x 50 | conditions: 51 | - key: payload 52 | value: double_both 53 | - title: both hold 54 | conditions: 55 | - key: payload 56 | value: hold_both -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-xiaomi-smart-wireless-switch-wxkg01lm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-xiaomi-smart-wireless-switch-wxkg01lm.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-xiaomi-smart-wireless-switch-wxkg01lm.yaml: -------------------------------------------------------------------------------- 1 | name: Xiaomi Smart Wireless Switch (WXKG01LM) 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | - actions: 7 | - title: press 8 | conditions: 9 | - key: payload 10 | value: single 11 | - title: press 2x 12 | conditions: 13 | - key: payload 14 | value: double 15 | - title: press 3x 16 | conditions: 17 | - key: payload 18 | value: triple 19 | - title: press 4x 20 | conditions: 21 | - key: payload 22 | value: quadruple 23 | - title: press >4x 24 | conditions: 25 | - key: payload 26 | value: many 27 | - title: hold 28 | conditions: 29 | - key: payload 30 | value: hold 31 | - title: hold (released) 32 | conditions: 33 | - key: payload 34 | value: release -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-zignito-4-button-scene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zigbee2mqtt-zignito-4-button-scene.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zigbee2mqtt-zignito-4-button-scene.yaml: -------------------------------------------------------------------------------- 1 | name: Zignito 4 Button Scene 2 | service: Zigbee2MQTT 3 | event_type: mqtt 4 | mqtt_topic_format: zigbee2mqtt/+/action 5 | buttons: 6 | ## Not sure why the buttons are back to front and illogical by their numbers?? 7 | - x: 23 8 | y: 23 9 | width: 216 10 | height: 208 11 | actions: 12 | - title: press 13 | conditions: 14 | - key: payload 15 | value: 1_single 16 | - title: press 2x 17 | conditions: 18 | - key: payload 19 | value: 1_double 20 | - title: hold 21 | conditions: 22 | - key: payload 23 | value: 1_hold 24 | - x: 239 25 | y: 23 26 | width: 216 27 | height: 208 28 | actions: 29 | - title: press 30 | conditions: 31 | - key: payload 32 | value: 2_single 33 | - title: press 2x 34 | conditions: 35 | - key: payload 36 | value: 2_double 37 | - title: hold 38 | conditions: 39 | - key: payload 40 | value: 2_hold 41 | - x: 23 42 | y: 231 43 | width: 216 44 | height: 208 45 | actions: 46 | - title: press 47 | conditions: 48 | - key: payload 49 | value: 3_single 50 | - title: press 2x 51 | conditions: 52 | - key: payload 53 | value: 3_double 54 | - title: hold 55 | conditions: 56 | - key: payload 57 | value: 3_hold 58 | - x: 239 59 | y: 231 60 | width: 216 61 | height: 208 62 | actions: 63 | - title: press 64 | conditions: 65 | - key: payload 66 | value: 4_single 67 | - title: press 2x 68 | conditions: 69 | - key: payload 70 | value: 4_double 71 | - title: hold 72 | conditions: 73 | - key: payload 74 | value: 4_hold 75 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-aeotec-nanomote-quad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-aeotec-nanomote-quad.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-aeotec-nanomote-quad.yaml: -------------------------------------------------------------------------------- 1 | name: NanoMote Quad 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - d: "m43,142a100,100 0 0 1 100,-100l206,0a100,100 0 0 1 100,100l0,100l-118,0a85,85 0 1 0 -170,0l-118,0z" 10 | conditions: 11 | - key: property_key 12 | value: '001' 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: value 17 | value: KeyPressed 18 | - title: hold 19 | conditions: 20 | - key: value 21 | value: KeyHeldDown 22 | - d: "m43,249l118,0a85,85 0 0 0 82,85l0,118l-100,0a100,100 0 0 1 -100,-100z" 23 | conditions: 24 | - key: property_key 25 | value: '002' 26 | actions: 27 | - title: press 28 | conditions: 29 | - key: value 30 | value: KeyPressed 31 | - title: hold 32 | conditions: 33 | - key: value 34 | value: KeyHeldDown 35 | - d: "m448,249l0,103a100,100 0 0 1 -100,100l-100,0l0,-118a85,85 0 0 0 82,-85z" 36 | conditions: 37 | - key: property_key 38 | value: '003' 39 | actions: 40 | - title: press 41 | conditions: 42 | - key: value 43 | value: KeyPressed 44 | - title: hold 45 | conditions: 46 | - key: value 47 | value: KeyHeldDown 48 | - x: 245 49 | y: 246 50 | width: 84 51 | conditions: 52 | - key: property_key 53 | value: '004' 54 | actions: 55 | - title: press 56 | conditions: 57 | - key: value 58 | value: KeyPressed 59 | - title: hold 60 | conditions: 61 | - key: value 62 | value: KeyHeldDown 63 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-aeotec-wallmote-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-aeotec-wallmote-7.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-aeotec-wallmote-7.yaml: -------------------------------------------------------------------------------- 1 | name: WallMote 7 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - x: 24 10 | y: 24 11 | width: 200 12 | height: 218 13 | conditions: 14 | - key: property_key 15 | value: '001' 16 | actions: 17 | - title: press 18 | conditions: 19 | - key: value 20 | value: KeyPressed 21 | - title: press 2x 22 | conditions: 23 | - key: value 24 | value: KeyPressed2x 25 | - title: press 3x 26 | conditions: 27 | - key: value 28 | value: KeyPressed3x 29 | - title: press 4x 30 | conditions: 31 | - key: value 32 | value: KeyPressed4x 33 | - title: press 5x 34 | conditions: 35 | - key: value 36 | value: KeyPressed5x 37 | - title: hold 38 | conditions: 39 | - key: value 40 | value: KeyHeldDown 41 | - x: 24 42 | y: 246 43 | width: 200 44 | height: 218 45 | conditions: 46 | - key: property_key 47 | value: '002' 48 | actions: 49 | - title: press 50 | conditions: 51 | - key: value 52 | value: KeyPressed 53 | - title: press 2x 54 | conditions: 55 | - key: value 56 | value: KeyPressed2x 57 | - title: press 3x 58 | conditions: 59 | - key: value 60 | value: KeyPressed3x 61 | - title: press 4x 62 | conditions: 63 | - key: value 64 | value: KeyPressed4x 65 | - title: press 5x 66 | conditions: 67 | - key: value 68 | value: KeyPressed5x 69 | - title: hold 70 | conditions: 71 | - key: value 72 | value: KeyHeldDown 73 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-aeotec-wallmote-quad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-aeotec-wallmote-quad.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-aeotec-wallmote-quad.yaml: -------------------------------------------------------------------------------- 1 | name: Wallmote Quad 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - d: m 45.944466,2.0341694 h 176.769524 v 219.3817306 h -219.1028571 l 0,-177.048398 a 42.333333,42.333333 135 0 1 42.3333331,-42.3333326 z 10 | conditions: 11 | - key: property_key 12 | value: '001' 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: value 17 | value: KeyPressed 18 | - title: hold 19 | conditions: 20 | - key: value 21 | value: KeyHeldDown 22 | - title: hold (released) 23 | conditions: 24 | - key: value 25 | value: KeyReleased 26 | - d: m 222.78056,2.0572453 h 176.76953 a 42.333333,42.333333 45 0 1 42.33333,42.3333327 v 177.048392 h -219.10286 z 27 | conditions: 28 | - key: property_key 29 | value: '002' 30 | actions: 31 | - title: press 32 | conditions: 33 | - key: value 34 | value: KeyPressed 35 | - title: hold 36 | conditions: 37 | - key: value 38 | value: KeyHeldDown 39 | - title: hold (released) 40 | conditions: 41 | - key: value 42 | value: KeyReleased 43 | - d: m 3.4383569,221.24492 h 219.1028631 v 219.38173 h -176.76953 a 42.333333,42.333333 45 0 1 -42.3333331,-42.33333 z 44 | conditions: 45 | - key: property_key 46 | value: '003' 47 | actions: 48 | - title: press 49 | conditions: 50 | - key: value 51 | value: KeyPressed 52 | - title: hold 53 | conditions: 54 | - key: value 55 | value: KeyHeldDown 56 | - title: hold (released) 57 | conditions: 58 | - key: value 59 | value: KeyReleased 60 | - d: m 222.71397,221.28836 h 219.10286 v 177.0484 a 42.333333,42.333333 135 0 1 -42.33333,42.33333 l -176.76953,0 z 61 | conditions: 62 | - key: property_key 63 | value: '004' 64 | actions: 65 | - title: press 66 | conditions: 67 | - key: value 68 | value: KeyPressed 69 | - title: hold 70 | conditions: 71 | - key: value 72 | value: KeyHeldDown 73 | - title: hold (released) 74 | conditions: 75 | - key: value 76 | value: KeyReleased -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-gocontrol-wa00z.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-gocontrol-wa00z.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-gocontrol-wa00z.yaml: -------------------------------------------------------------------------------- 1 | name: GoControl 2 Button 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - x: 120 10 | y: 180 11 | width: 88 12 | height: 92 13 | conditions: 14 | - key: property_key 15 | value: '001' 16 | actions: 17 | - title: press 18 | conditions: 19 | - key: value 20 | value: KeyPressed 21 | - title: hold 22 | conditions: 23 | - key: value 24 | value: KeyHeldDown 25 | - x: 120 26 | y: 286 27 | width: 88 28 | height: 92 29 | conditions: 30 | - key: property_key 31 | value: '002' 32 | actions: 33 | - title: press 34 | conditions: 35 | - key: value 36 | value: KeyPressed 37 | - title: hold 38 | conditions: 39 | - key: value 40 | value: KeyHeldDown 41 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-hank-scn04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-hank-scn04.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-hank-scn04.yaml: -------------------------------------------------------------------------------- 1 | name: HANK SCN04 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - d: "m33,172c-16.58-28.99-18.71-64.59-4-95,16.6-34.32,52.24-56.7,92-57l1,50c-19.34-.17-37.07,10.32-46,27-8.37,15.64-7.9,34.59,1,50l-44,25Z" 10 | conditions: 11 | - key: property_key 12 | value: '001' 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: value 17 | value: KeyPressed 18 | - title: hold 19 | conditions: 20 | - key: value 21 | value: KeyHeldDown 22 | - title: hold (released) 23 | conditions: 24 | - key: value 25 | value: KeyReleased 26 | - d: "m123,19c36.23,1.35,69.27,21.43,87,53,17.37,30.93,17.69,68.69,1,100l-44-25c7.97-15.77,7.68-34.55-1-50-8.97-15.98-25.66-26.17-44-27l1-51Z" 27 | conditions: 28 | - key: property_key 29 | value: '002' 30 | actions: 31 | - title: press 32 | conditions: 33 | - key: value 34 | value: KeyPressed 35 | - title: hold 36 | conditions: 37 | - key: value 38 | value: KeyHeldDown 39 | - title: hold (released) 40 | conditions: 41 | - key: value 42 | value: KeyReleased 43 | - d: "m121,70c28.17,0,51,22.83,51,51s-22.83,51-51,51-51-22.83-51-51,22.83-51,51-51Z" 44 | conditions: 45 | - key: property_key 46 | value: '003' 47 | actions: 48 | - title: press 49 | conditions: 50 | - key: value 51 | value: KeyPressed 52 | - title: hold 53 | conditions: 54 | - key: value 55 | value: KeyHeldDown 56 | - title: hold (released) 57 | conditions: 58 | - key: value 59 | value: KeyReleased 60 | - d: "m34,174c19.3,31.96,54.17,51.07,91,50,34.96-1.02,66.95-20.05,85-50l-43-26c-9.46,15.33-26.67,25.55-46,25-17.67-.51-33.79-10.05-43-25l-44,26Z" 61 | conditions: 62 | - key: property_key 63 | value: '004' 64 | actions: 65 | - title: press 66 | conditions: 67 | - key: value 68 | value: KeyPressed 69 | - title: hold 70 | conditions: 71 | - key: value 72 | value: KeyHeldDown 73 | - title: hold (released) 74 | conditions: 75 | - key: value 76 | value: KeyReleased 77 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-heatit-z-dim-rotary-dimmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-heatit-z-dim-rotary-dimmer.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-heatit-z-dim-rotary-dimmer.yaml: -------------------------------------------------------------------------------- 1 | name: Heatit Z-Dim Rotary Dimmer 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | conditions: 10 | - key: property_key 11 | value: '001' 12 | actions: 13 | - title: press 2x 14 | conditions: 15 | - key: value 16 | value: KeyPressed2x 17 | - title: press 3x 18 | conditions: 19 | - key: value 20 | value: KeyPressed3x 21 | - title: press 4x 22 | conditions: 23 | - key: value 24 | value: KeyPressed4x 25 | - title: press 5x 26 | conditions: 27 | - key: value 28 | value: KeyPressed5x 29 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-inovelli-vzw31-sn-red-series-2-1-switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-inovelli-vzw31-sn-red-series-2-1-switch.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-k8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-k8.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-shelly-wave-i4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-shelly-wave-i4.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-wallmote-duo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-wallmote-duo.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-wallmote-duo.yaml: -------------------------------------------------------------------------------- 1 | name: Wallmote Duo 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - d: M 388.82236,3.1936128 H 77.44511 L 59.88024,5.5888224 43.113772,13.572854 28.742515,23.153693 19.161677,33.532934 12.774451,47.105788 6.3872255,61.477046 5.5888224,87.824351 V 724.9501 l 3.9920159,18.36327 7.1856287,17.56487 15.169661,15.16966 9.580838,6.38723 10.379242,7.18563 9.580838,3.19361 17.56487,3.19361 310.578844,-0.7984 z 10 | conditions: 11 | - key: property_key 12 | value: '001' 13 | actions: 14 | - title: press 15 | conditions: 16 | - key: value 17 | value: KeyPressed 18 | - title: hold 19 | conditions: 20 | - key: value 21 | value: KeyHeldDown 22 | - d: m 410.37924,5.5888224 316.16767,-1.5968064 30.33932,8.782435 22.35529,18.363274 11.97605,20.758483 5.58882,22.355289 0.7984,653.892213 -5.58882,19.16168 -7.98403,15.16966 -11.97605,11.17764 -10.37924,10.37925 -15.96807,7.18563 -18.36327,2.3952 -27.14571,1.59681 -289.02196,-1.59681 z 23 | conditions: 24 | - key: property_key 25 | value: '002' 26 | actions: 27 | - title: press 28 | conditions: 29 | - key: value 30 | value: KeyPressed 31 | - title: hold 32 | conditions: 33 | - key: value 34 | value: KeyHeldDown 35 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen30.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen32.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen34.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen34.yaml: -------------------------------------------------------------------------------- 1 | name: Zooz Zen34 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - x: 44 10 | y: 44 11 | width: 313 12 | height: 337 13 | conditions: 14 | - key: property_key 15 | value: '001' 16 | actions: 17 | - title: press 18 | conditions: 19 | - key: value 20 | value: KeyPressed 21 | - title: press 2x 22 | conditions: 23 | - key: value 24 | value: KeyPressed2x 25 | - title: press 3x 26 | conditions: 27 | - key: value 28 | value: KeyPressed3x 29 | - title: press 4x 30 | conditions: 31 | - key: value 32 | value: KeyPressed4x 33 | - title: press 5x 34 | conditions: 35 | - key: value 36 | value: KeyPressed5x 37 | - title: hold 38 | conditions: 39 | - key: value 40 | value: KeyHeldDown 41 | - title: hold (released) 42 | conditions: 43 | - key: value 44 | value: KeyReleased 45 | - x: 44 46 | y: 397 47 | width: 313 48 | height: 337 49 | conditions: 50 | - key: property_key 51 | value: '002' 52 | actions: 53 | - title: press 54 | conditions: 55 | - key: value 56 | value: KeyPressed 57 | - title: press 2x 58 | conditions: 59 | - key: value 60 | value: KeyPressed2x 61 | - title: press 3x 62 | conditions: 63 | - key: value 64 | value: KeyPressed3x 65 | - title: press 4x 66 | conditions: 67 | - key: value 68 | value: KeyPressed4x 69 | - title: press 5x 70 | conditions: 71 | - key: value 72 | value: KeyPressed5x 73 | - title: hold 74 | conditions: 75 | - key: value 76 | value: KeyHeldDown 77 | - title: hold (released) 78 | conditions: 79 | - key: value 80 | value: KeyReleased -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen37.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen51.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen51.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen51.yaml: -------------------------------------------------------------------------------- 1 | name: Zooz Zen51 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - conditions: 10 | - key: property_key 11 | value: '001' 12 | actions: 13 | - title: press 14 | conditions: 15 | - key: value 16 | value: KeyPressed 17 | - title: press 2x 18 | conditions: 19 | - key: value 20 | value: KeyPressed2x 21 | - title: press 3x 22 | conditions: 23 | - key: value 24 | value: KeyPressed3x 25 | - title: press 4x 26 | conditions: 27 | - key: value 28 | value: KeyPressed4x 29 | - title: press 5x 30 | conditions: 31 | - key: value 32 | value: KeyPressed5x 33 | - title: hold 34 | conditions: 35 | - key: value 36 | value: KeyHeldDown 37 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen71.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen71.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen71.yaml: -------------------------------------------------------------------------------- 1 | name: Zooz Zen71 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - x: 38 10 | y: 38 11 | width: 326 12 | height: 348 13 | conditions: 14 | - key: property_key 15 | value: '001' 16 | actions: 17 | - title: press 18 | conditions: 19 | - key: value 20 | value: KeyPressed 21 | - title: press 2x 22 | conditions: 23 | - key: value 24 | value: KeyPressed2x 25 | - title: press 3x 26 | conditions: 27 | - key: value 28 | value: KeyPressed3x 29 | - title: press 4x 30 | conditions: 31 | - key: value 32 | value: KeyPressed4x 33 | - title: press 5x 34 | conditions: 35 | - key: value 36 | value: KeyPressed5x 37 | - title: hold 38 | conditions: 39 | - key: value 40 | value: KeyHeldDown 41 | - title: hold (released) 42 | conditions: 43 | - key: value 44 | value: KeyReleased 45 | - x: 38 46 | y: 388 47 | width: 326 48 | height: 338 49 | conditions: 50 | - key: property_key 51 | value: '002' 52 | actions: 53 | - title: press 54 | conditions: 55 | - key: value 56 | value: KeyPressed 57 | - title: press 2x 58 | conditions: 59 | - key: value 60 | value: KeyPressed2x 61 | - title: press 3x 62 | conditions: 63 | - key: value 64 | value: KeyPressed3x 65 | - title: press 4x 66 | conditions: 67 | - key: value 68 | value: KeyPressed4x 69 | - title: press 5x 70 | conditions: 71 | - key: value 72 | value: KeyPressed5x 73 | - title: hold 74 | conditions: 75 | - key: value 76 | value: KeyHeldDown 77 | - title: hold (released) 78 | conditions: 79 | - key: value 80 | value: KeyReleased 81 | 82 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen72.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen72.yaml: -------------------------------------------------------------------------------- 1 | name: Zooz Zen72 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - x: 38 10 | y: 39 11 | width: 326 12 | height: 348 13 | conditions: 14 | - key: property_key 15 | value: '001' 16 | actions: 17 | - title: press 18 | conditions: 19 | - key: value 20 | value: KeyPressed 21 | - title: press 2x 22 | conditions: 23 | - key: value 24 | value: KeyPressed2x 25 | - title: press 3x 26 | conditions: 27 | - key: value 28 | value: KeyPressed3x 29 | - title: press 4x 30 | conditions: 31 | - key: value 32 | value: KeyPressed4x 33 | - title: press 5x 34 | conditions: 35 | - key: value 36 | value: KeyPressed5x 37 | - title: hold 38 | conditions: 39 | - key: value 40 | value: KeyHeldDown 41 | - x: 38 42 | y: 388 43 | width: 326 44 | height: 342 45 | conditions: 46 | - key: property_key 47 | value: '002' 48 | actions: 49 | - title: press 50 | conditions: 51 | - key: value 52 | value: KeyPressed 53 | - title: press 2x 54 | conditions: 55 | - key: value 56 | value: KeyPressed2x 57 | - title: press 3x 58 | conditions: 59 | - key: value 60 | value: KeyPressed3x 61 | - title: press 4x 62 | conditions: 63 | - key: value 64 | value: KeyPressed4x 65 | - title: press 5x 66 | conditions: 67 | - key: value 68 | value: KeyPressed5x 69 | - title: hold 70 | conditions: 71 | - key: value 72 | value: KeyHeldDown 73 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen76.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen76.yaml: -------------------------------------------------------------------------------- 1 | name: Zooz Zen76 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - x: 38 10 | y: 38 11 | width: 326 12 | height: 348 13 | conditions: 14 | - key: property_key 15 | value: '001' 16 | actions: 17 | - title: press 18 | conditions: 19 | - key: value 20 | value: KeyPressed 21 | - title: press 2x 22 | conditions: 23 | - key: value 24 | value: KeyPressed2x 25 | - title: press 3x 26 | conditions: 27 | - key: value 28 | value: KeyPressed3x 29 | - title: press 4x 30 | conditions: 31 | - key: value 32 | value: KeyPressed4x 33 | - title: press 5x 34 | conditions: 35 | - key: value 36 | value: KeyPressed5x 37 | - title: hold 38 | conditions: 39 | - key: value 40 | value: KeyHeldDown 41 | - title: hold (released) 42 | conditions: 43 | - key: value 44 | value: KeyReleased 45 | - x: 38 46 | y: 388 47 | width: 326 48 | height: 338 49 | conditions: 50 | - key: property_key 51 | value: '002' 52 | actions: 53 | - title: press 54 | conditions: 55 | - key: value 56 | value: KeyPressed 57 | - title: press 2x 58 | conditions: 59 | - key: value 60 | value: KeyPressed2x 61 | - title: press 3x 62 | conditions: 63 | - key: value 64 | value: KeyPressed3x 65 | - title: press 4x 66 | conditions: 67 | - key: value 68 | value: KeyPressed4x 69 | - title: press 5x 70 | conditions: 71 | - key: value 72 | value: KeyPressed5x 73 | - title: hold 74 | conditions: 75 | - key: value 76 | value: KeyHeldDown 77 | - title: hold (released) 78 | conditions: 79 | - key: value 80 | value: KeyReleased 81 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen77.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zooz-zen77.png -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zooz-zen77.yaml: -------------------------------------------------------------------------------- 1 | name: Zooz Zen77 2 | service: Z-Wave JS 3 | event_type: zwave_js_value_notification 4 | identifier_key: node_id 5 | conditions: 6 | - key: property 7 | value: scene 8 | buttons: 9 | - x: 38 10 | y: 40 11 | width: 326 12 | height: 348 13 | conditions: 14 | - key: property_key 15 | value: '001' 16 | actions: 17 | - title: press 18 | conditions: 19 | - key: value 20 | value: KeyPressed 21 | - title: press 2x 22 | conditions: 23 | - key: value 24 | value: KeyPressed2x 25 | - title: press 3x 26 | conditions: 27 | - key: value 28 | value: KeyPressed3x 29 | - title: press 4x 30 | conditions: 31 | - key: value 32 | value: KeyPressed4x 33 | - title: press 5x 34 | conditions: 35 | - key: value 36 | value: KeyPressed5x 37 | - title: hold 38 | conditions: 39 | - key: value 40 | value: KeyHeldDown 41 | - x: 38 42 | y: 389 43 | width: 326 44 | height: 338 45 | conditions: 46 | - key: property_key 47 | value: '002' 48 | actions: 49 | - title: press 50 | conditions: 51 | - key: value 52 | value: KeyPressed 53 | - title: press 2x 54 | conditions: 55 | - key: value 56 | value: KeyPressed2x 57 | - title: press 3x 58 | conditions: 59 | - key: value 60 | value: KeyPressed3x 61 | - title: press 4x 62 | conditions: 63 | - key: value 64 | value: KeyPressed4x 65 | - title: press 5x 66 | conditions: 67 | - key: value 68 | value: KeyPressed5x 69 | - title: hold 70 | conditions: 71 | - key: value 72 | value: KeyHeldDown 73 | -------------------------------------------------------------------------------- /custom_components/switch_manager/blueprints/zwave-js-zrc-90.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/custom_components/switch_manager/blueprints/zwave-js-zrc-90.png -------------------------------------------------------------------------------- /custom_components/switch_manager/config_flow.py: -------------------------------------------------------------------------------- 1 | from homeassistant import config_entries 2 | 3 | from .const import DOMAIN 4 | 5 | @config_entries.HANDLERS.register(DOMAIN) 6 | class SwitchManagerConfigFlow(config_entries.ConfigFlow): 7 | 8 | VERSION = 2 9 | 10 | async def async_step_user(self, user_input=None): 11 | if self._async_current_entries(): 12 | return self.async_abort(reason="single_instance_allowed") 13 | return self.async_create_entry(title="Switch Manager", data={}) -------------------------------------------------------------------------------- /custom_components/switch_manager/const.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | DOMAIN = "switch_manager" 4 | NAME = 'Switch Manager' 5 | 6 | CONF_BLUEPRINTS = "blueprints" 7 | CONF_SWITCH_CONFIGS = 'switch_configs' 8 | CONF_MANAGED_SWITCHES = "managed_switches" 9 | CONF_STORE = 'store' 10 | 11 | PANEL_URL = "/switch_manager_panel.js" 12 | 13 | BLUEPRINTS_FOLDER = 'blueprints' 14 | 15 | LOGGER = logging.getLogger(__name__) -------------------------------------------------------------------------------- /custom_components/switch_manager/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "domain": "switch_manager", 3 | "name": "Switch Manager", 4 | "after_dependencies": [ 5 | "mqtt" 6 | ], 7 | "codeowners": [ 8 | "@Sian-Lee-SA" 9 | ], 10 | "config_flow": true, 11 | "dependencies": [ 12 | "panel_custom", 13 | "websocket_api", 14 | "http", 15 | "frontend", 16 | "script" 17 | ], 18 | "documentation": "https://github.com/Sian-Lee-SA/Home-Assistant-Switch-Manager", 19 | "iot_class": "local_push", 20 | "issue_tracker": "https://github.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/issues", 21 | "requirements": [], 22 | "version": "2.0.4" 23 | } 24 | -------------------------------------------------------------------------------- /custom_components/switch_manager/services.yaml: -------------------------------------------------------------------------------- 1 | reload: 2 | name: Reload 3 | description: Reload blueprints and switches. This will also stop any running sequences 4 | 5 | set_variables: 6 | name: Set Switch Variables 7 | description: Set switch variables dynamically 8 | fields: 9 | switch_id: 10 | name: Switch ID 11 | description: The id of the switch. Can be found on the identifier dialog of the switch. 12 | example: "{{ data.switch_id }}" 13 | required: true 14 | selector: 15 | text: 16 | variables: 17 | name: Variables 18 | description: YAML code of the variables 19 | required: true 20 | selector: 21 | object: -------------------------------------------------------------------------------- /custom_components/switch_manager/strings.json: -------------------------------------------------------------------------------- 1 | { 2 | "issues": { 3 | "mismatch": { 4 | "title": "Switch/Blueprint mismatch for", 5 | "description": "This issue can't be fixed by a flow." 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /custom_components/switch_manager/translations/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "issues": { 3 | "mismatch": { 4 | "title": "Switch/Blueprint mismatch for {name}", 5 | "description": "This issue can't be fixed by a flow. Click learn more to go directly to the edit page to fix" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /custom_components/switch_manager/view.py: -------------------------------------------------------------------------------- 1 | import os, pathlib 2 | from .const import DOMAIN, CONF_BLUEPRINTS, BLUEPRINTS_FOLDER, PANEL_URL, NAME 3 | from .helpers import VERSION 4 | from homeassistant.core import HomeAssistant 5 | from homeassistant.components.frontend import async_register_built_in_panel 6 | from homeassistant.components.http import StaticPathConfig 7 | 8 | async def async_setup_view(hass: HomeAssistant): 9 | staticJS = [StaticPathConfig(PANEL_URL, hass.config.path("custom_components/switch_manager/assets/switch_manager_panel.js"), True)] 10 | 11 | # folder = pathlib.Path(hass.config.path("custom_components/switch_manager/assets")) 12 | # staticJS = []; 13 | # for f in _find_files(folder, "*.js"): 14 | # staticJS.append( 15 | # StaticPathConfig(f"/{os.path.basename(f)}", f, True) 16 | # ) 17 | 18 | await hass.http.async_register_static_paths(staticJS) 19 | await async_bind_blueprint_images(hass) 20 | 21 | async_register_built_in_panel(hass, 22 | component_name="custom", 23 | sidebar_title=NAME, 24 | sidebar_icon="mdi:light-switch-off", 25 | frontend_url_path="switch_manager", 26 | require_admin=True, 27 | config={ 28 | "_panel_custom": { 29 | "name": "switch-manager-panel", 30 | "module_url": f"{PANEL_URL}?{VERSION}", 31 | "embed_iframe": True 32 | }, 33 | "version": VERSION 34 | }, 35 | ) 36 | 37 | async def async_bind_blueprint_images(hass: HomeAssistant): 38 | static_paths = [] 39 | 40 | for key in hass.data[DOMAIN].get(CONF_BLUEPRINTS): 41 | if hass.data[DOMAIN].get(CONF_BLUEPRINTS)[key].has_image: 42 | static_paths.append( 43 | StaticPathConfig( 44 | f'/assets/{DOMAIN}/{key}.png', 45 | hass.config.path(f"{BLUEPRINTS_FOLDER}/{DOMAIN}/{key}.png"), 46 | True 47 | ) 48 | ) 49 | 50 | await hass.http.async_register_static_paths(static_paths) -------------------------------------------------------------------------------- /hacs.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Switch Manager", 3 | "render_readme": true, 4 | "homeassistant": "2025.4.0" 5 | } -------------------------------------------------------------------------------- /images/dark_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/dark_icon.png -------------------------------------------------------------------------------- /images/dark_icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/dark_icon@2x.png -------------------------------------------------------------------------------- /images/demo-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/demo-1.png -------------------------------------------------------------------------------- /images/demo-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/demo-2.png -------------------------------------------------------------------------------- /images/demo-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/demo-3.png -------------------------------------------------------------------------------- /images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/icon.png -------------------------------------------------------------------------------- /images/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/icon@2x.png -------------------------------------------------------------------------------- /images/no-device-actions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/no-device-actions.png -------------------------------------------------------------------------------- /images/youtube-introduction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sian-Lee-SA/Home-Assistant-Switch-Manager/b22d8f76a063290472a1279218000f9332bdb3be/images/youtube-introduction.png --------------------------------------------------------------------------------