awesome-ha-blueprints
awesome-ha-blueprints copied to clipboard
Proposal -
Description
Yeelight Rotary Dimmer YLKG07YL/YLKG08YL would be nice.
Implementation
No response
Additional Details
- [ ] I'd like to help developing this blueprint.
Useful resources
No response
Additional context
No response
Hi @ergofreiberg,
thank you so much for your suggestion! I can see this is a bluetooth device. Currently we only support Zigbee-based controllers (integrated with either Zigbee2MQTT, ZHA or deCONZ) but we can definitely work on adding support for other platforms as well.
How does this device integrate with Home Assistant? Do you have any additional information which might be useful for the development of this blueprint? (eg. which events the controller fires when interacting with it, known bugs or limitations etc.)
Thank you! :)
Hi!
The device is actually meant for YeeLight bluetooth enabled luminaries,
https://www.yeelight.com/pages/products.html#/dimmer https://www.yeelight.com/pages/products.html#/dimmer
but now can be integrated to HA via Passive BLE Monitor integration
https://github.com/custom-components/ble_monitor https://github.com/custom-components/ble_monitor
and is represented as a sensor with states:
no press short press (x) steps long press (x - this one is starting with 0) steps rotate right (x) steps rotate left (x) steps rotate right (pressed) (x) steps rotate left (pressed) (x) steps
As I’m not been able to figure out how to send data payload to automation with if/elseif I currently have 8 different automations to control one switch.
Let me know if You need any more information from me.
Regards, Ergo
On 17 Aug 2021, at 12:02, Matteo Agnoletto @.***> wrote:
Hi @ergofreiberg https://github.com/ergofreiberg,
thank you so much for your suggestion! I can see this is a bluetooth device. Currently we only support Zigbee-based controllers (integrated with either Zigbee2MQTT, ZHA or deCONZ) but we can definitely work on adding support for other platforms as well.
How does this device integrate with Home Assistant? Do you have any additional information which might be useful for the development of this blueprint? (eg. which events the controller fires when interacting with it, known bugs or limitations etc.)
Thank you! :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EPMatt/awesome-ha-blueprints/issues/127#issuecomment-900122248, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNCZHUAEVATPH67OUOX5E3T5IQRJANCNFSM5CD6IGOQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.
- id: '1628852742089'
alias: Kirke's Room Light Toggle On/Off
description: ''
trigger:
- platform: state entity_id: sensor.kirkes_room_dimmer to: short press 1 steps condition: [] action:
- service: light.toggle target: device_id: 2e9cac8bf9f511ea8f7165f35397b649 mode: single
- id: '1628853187037'
alias: Kirke's Room Light Dim Up
description: ''
trigger:
- platform: state entity_id: sensor.kirkes_room_dimmer to: rotate right 1 steps condition: [] action:
- service: light.turn_on data: brightness_step_pct: 20 target: device_id: 2e9cac8bf9f511ea8f7165f35397b649 mode: queued max: 5
- id: '1628882257784'
alias: Kirke's Room Light Dim Down
description: ''
trigger:
- platform: state entity_id: sensor.kirkes_room_dimmer to: rotate left 1 steps condition: [] action:
- service: light.turn_on data: brightness_step_pct: -20 target: device_id: 2e9cac8bf9f511ea8f7165f35397b649 mode: queued max: 5
- id: '1628883765573'
alias: Kirke's Room Light Full Brightness
description: ''
trigger:
- platform: state entity_id: sensor.kirkes_room_dimmer to: short press 2 steps condition: [] action:
- service: light.turn_on data: brightness_pct: 100 target: device_id: 2e9cac8bf9f511ea8f7165f35397b649 mode: single
- id: '1628883830230'
alias: Kirke's Room Light Dim to 10%
description: ''
trigger:
- platform: state entity_id: sensor.kirkes_room_dimmer to: long press 0 steps condition: [] action:
- service: light.turn_on data: brightness_pct: 10 target: device_id: 2e9cac8bf9f511ea8f7165f35397b649 mode: single
- id: '1628886300780'
alias: Kirke's Room Light Change Color to 4000K
description: ''
trigger:
- platform: state entity_id: sensor.kirkes_room_dimmer to: rotate left (pressed) 1 steps condition: [] action:
- service: light.turn_on data: kelvin: 4000 target: device_id: 2e9cac8bf9f511ea8f7165f35397b649 mode: single max: 10
- id: '1628886543055'
alias: Kirke's Room Light Change Color to Red
description: ''
trigger:
- platform: state entity_id: sensor.kirkes_room_dimmer to: rotate right (pressed) 1 steps condition: [] action:
- service: light.turn_on data: color_name: red target: device_id: 2e9cac8bf9f511ea8f7165f35397b649 mode: single
- id: '1628888113257'
alias: Kirke's Room Light Full Brightness and 6500K
description: ''
trigger:
- platform: state entity_id: sensor.kirkes_room_dimmer to: short press 3 steps condition: [] action:
- service: light.turn_on data: kelvin: 6500 brightness_pct: 100 target: device_id: 2e9cac8bf9f511ea8f7165f35397b649 mode: single max: 10