Skip to content

Commit 50cd3df

Browse files
committed
Improve hacs.json - add auto-off for speed
1 parent bf07bf1 commit 50cd3df

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ trigger:
4141
- platform: state
4242
entity_id: binary_sensor.stromer_bike_lock
4343
to: 'on'
44+
- platform: numeric_state
45+
entity_id: sensor.s_eve_speed
46+
for:
47+
hours: 0
48+
minutes: 10
49+
seconds: 0
50+
below: '5'
4451
condition: []
4552
action:
4653
- service: homeassistant.turn_off

hacs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Stromer custom component",
3-
"domains": ["binary_sensor","sensor"],
2+
"name": "Stromer E-Bike",
3+
"domains": ["binary_sensor","sensor", "device_tracker"],
44
"homeassistant": "2022.3.0",
55
"render_readme": true
66
}

0 commit comments

Comments
 (0)