mirror of
https://github.com/esphome/esphome.git
synced 2026-05-30 23:54:04 +08:00
Event entity support (#6451)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
event:
|
||||
- platform: template
|
||||
name: Event
|
||||
id: some_event
|
||||
event_types:
|
||||
- template_event_type1
|
||||
- template_event_type2
|
||||
on_event:
|
||||
- logger.log: Event fired
|
||||
@@ -0,0 +1,9 @@
|
||||
event:
|
||||
- platform: template
|
||||
name: Event
|
||||
id: some_event
|
||||
event_types:
|
||||
- template_event_type1
|
||||
- template_event_type2
|
||||
on_event:
|
||||
- logger.log: Event fired
|
||||
@@ -0,0 +1,9 @@
|
||||
event:
|
||||
- platform: template
|
||||
name: Event
|
||||
id: some_event
|
||||
event_types:
|
||||
- template_event_type1
|
||||
- template_event_type2
|
||||
on_event:
|
||||
- logger.log: Event fired
|
||||
@@ -0,0 +1,9 @@
|
||||
event:
|
||||
- platform: template
|
||||
name: Event
|
||||
id: some_event
|
||||
event_types:
|
||||
- template_event_type1
|
||||
- template_event_type2
|
||||
on_event:
|
||||
- logger.log: Event fired
|
||||
@@ -0,0 +1,9 @@
|
||||
event:
|
||||
- platform: template
|
||||
name: Event
|
||||
id: some_event
|
||||
event_types:
|
||||
- template_event_type1
|
||||
- template_event_type2
|
||||
on_event:
|
||||
- logger.log: Event fired
|
||||
@@ -0,0 +1,9 @@
|
||||
event:
|
||||
- platform: template
|
||||
name: Event
|
||||
id: some_event
|
||||
event_types:
|
||||
- template_event_type1
|
||||
- template_event_type2
|
||||
on_event:
|
||||
- logger.log: Event fired
|
||||
Reference in New Issue
Block a user