Skip to content

Commit

Permalink
Update rabbit-hutch.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
crjeder authored Oct 18, 2024
1 parent fd43ca9 commit 3972318
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions rabbit-hutch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ state_machine:
- OPEN -> CLOSED
on_input:
- number.set:
id: nr_inhabitants
value: 4.0
id: nr_inhabitants
value: 4.0
- cover.close: huch_door
- logger.log: Manual close
- name: TIME_CLOSE
Expand All @@ -100,13 +100,13 @@ state_machine:
- OPEN -> OPEN
- on_transition:
- number.increment:
id: nr_inhabitants
cycle: false
id: nr_inhabitants
cycle: false
- WAITING -> WAITING
- on_transition:
- number.increment:
id: nr_inhabitants
cycle: false
id: nr_inhabitants
cycle: false
- then:
- if:
condition:
Expand All @@ -128,8 +128,8 @@ state_machine:
- WAITING -> WAITING
on_imput:
- number.decrement:
id: inhabitants
cycle: false
id: inhabitants
cycle: false

switch:
- platform: gpio
Expand Down Expand Up @@ -199,8 +199,8 @@ binary_sensor:
name: "Rabbit has entered the hutch"
on_press:
- number.increment:
id: inhabitants
cycle: false
id: inhabitants
cycle: false
- state_machine.transition: ENTER

- platform: apds9960
Expand Down

0 comments on commit 3972318

Please sign in to comment.