Replies: 4 comments
-
Hi @albenoit, It will be added in the next release. 0x01:
device_config:
command: "CMD"
channel: "CMD"
log_learn: ""
direction: ""
answer: ""
entities:
- component: "switch"
name: "switch"
config:
state_topic: "CMD4"
state_on: "100"
state_off: "0"
value_template: "{{ value_json.OV }}"
command_topic: "req"
payload_on: >
{"CMD":"1","DV":"0","IO":"0","OV":"100","send":"clear"}
payload_off: >
{"CMD":"1","DV":"0","IO":"0","OV":"0","send":"clear"}
device_class: outlet
- component: "button"
name: "query_status"
config:
command_topic: "req"
payload_press: >-
{"CMD":"3","IO":"30","send":"clear"}
- component: binary_sensor
name: "LC"
config:
state_topic: "CMD4"
payload_on: "on"
payload_off: "off"
value_template: >-
{% if value_json.LC == 1 %}on{% else %}off{% endif %} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for that nice answer (and the others, you are very reactive!) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Done in 0.1.27 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Wow, what a fantastic library, thanks!
May i suggest to integrate the D2-01-01 profile ? This is actually useful for telerrupters/(WIRED INPUT DIN RAIL RECEIVER WITH TOGGLE SWITCH) often installed in corridors and so on. This model corresponds: https://www.trio2sys.fr/index.php/fr/produits-enocean-sans-fil-sans-pile-interoperable/recepteur-sans-fils-sans-pile-interoperable-enocean/42
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions