Skip to content

Commit

Permalink
fix: Delete washing machine binary sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
liamwh committed Jun 29, 2024
1 parent 4061191 commit e7f9622
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
14 changes: 0 additions & 14 deletions automations/apple_watch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,17 +234,3 @@
title: "Dishwasher done! 🧼"
message: |+
Dishes are clean!
- alias: "Apple Watch: Washing machine finished notification"
mode: single
description: ""
trigger:
- platform: state
entity_id: binary_sensor.washing_machine
to: "off"
action:
- service: notify.all_iphones
data:
title: "Washing done! 👕"
message: |+
Get clothes out of the washing machine!
12 changes: 0 additions & 12 deletions includes/binary_sensors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@
mdi:shower
{%- endif -%}
washing_machine:
friendly_name: Washing machine
value_template: >
{{ state_attr('switch.power_sensor_washing_machine', 'current_power_w') | float(0) > 3 }}
delay_off: "00:05:00"
icon_template: >
{% if is_state("binary_sensor.washing_machine", "on") %}
mdi:washing-machine
{% else %}
mdi:washing-machine-off
{% endif %}
motion_detected:
friendly_name: Any motion detected
value_template: >
Expand Down
11 changes: 0 additions & 11 deletions ui-lovelace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,6 @@ views:
type: custom:button-card
type: horizontal-stack
- cards:
- color: auto
entity: binary_sensor.washing_machine
name: >-
[[[ if (entity.state == "on") return "Washing machine on"; else
return "Washing machine off" ]]]
styles:
card:
- font-size: 12px
- font-weight: bold
- height: 70px
type: custom:button-card
- color: auto
icon: mdi:home-export-outline
name: Leave Home
Expand Down

0 comments on commit e7f9622

Please sign in to comment.