Skip to content

Commit

Permalink
multiple updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeraman committed Jun 9, 2024
1 parent 8f6b2d4 commit 8ece142
Show file tree
Hide file tree
Showing 5 changed files with 232 additions and 3 deletions.
14 changes: 14 additions & 0 deletions alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,17 @@ living_sliding_door:
- sonos_speak


laundry_washer_complete_alert:
name: "Laundry Washer Complete Alert"
message: " \u1F455 The laundry Washer job has been completed"
#done_message: "The laundry Washer job has been completed"
entity_id: sensor.fcb97e3fb7af_laundry_machine_state
state: "Finished" # Optional, 'on' is the default value
can_acknowledge: true # Optional, default is true
data:
tag: laundry-door
notification_id: laundry_door
notifiers:
- phoneapps
#- persistent_notification
#- sonos_speak
4 changes: 2 additions & 2 deletions automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@
alias: Turn off Bath Strip when there is no more motion
trigger:
- platform: state
entity_id: binary_sensor.master_motion
entity_id: binary_sensor.master_bath_motion
to: 'off'
# - platform: state
# entity_id: binary_sensor.master_motion_zb
Expand Down Expand Up @@ -745,7 +745,7 @@
alias: Turn off Master Bed Strip when there is no more motion
trigger:
- platform: state
entity_id: binary_sensor.master_motion
entity_id: binary_sensor.master_bath_motion
to: 'off'
condition:
condition: and
Expand Down
3 changes: 3 additions & 0 deletions configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,9 @@ lovelace:
type: module
- url: /local/community/power-flow-card-plus/power-flow-card-plus.js
type: module
- url: /local/custom-lovelace/icons/laundry-icons/7segmentfontload.js
type: module



weather:
Expand Down
5 changes: 5 additions & 0 deletions sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -527,30 +527,35 @@
name: electricity_consumed
unit_prefix: k
round: 2
method: left

- platform: integration
source: sensor.solar_generation
name: solar_generated
unit_prefix: k
round: 2
method: left

- platform: integration
source: sensor.solar_feed
name: solar_feed_to_grid
unit_prefix: k
round: 2
method: left

- platform: integration
source: sensor.grid_power
name: grid_power_integration
unit_prefix: k
round: 2
method: left

- platform: integration
source: sensor.grid_consumption
name: grid_consumption_integration
unit_prefix: k
round: 2
method: left

- platform: integration
source: sensor.grid_consumption_peak
Expand Down
209 changes: 208 additions & 1 deletion ui-lovelace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ views:
name: Light
tap_action:
action: toggle
- entity: light.laundry_light
- entity: light.laundry_outside_light
icon: 'mdi:track-light'
name: Outdoor
tap_action:
Expand Down Expand Up @@ -2057,3 +2057,210 @@ views:
name: Motion PIR Old


- title: Laundry
path: laundry
cards:
- type: vertical-stack
cards:
- type: glance
title: Laundry
entities:
- entity: binary_sensor.laundry_motion_zb_1
icon: 'mdi:run-fast'
name: Motion
- entity: binary_sensor.laundry_door_zb
icon: 'mdi:door-closed'
name: Door
- entity: light.laundry_light
icon: 'mdi:lightbulb-on-outline'
name: Light
tap_action:
action: toggle
- entity: light.laundry_outside_light
icon: 'mdi:track-light'
name: Outdoor
tap_action:
action: toggle

- type: picture-elements
title: Washing Machine
elements:
- type: image
entity: sensor.washer_run_state
image: /local/custom-lovelace/icons/laundry-icons/sensing.png
state_image:
Detecting: /local/custom-lovelace/icons/laundry-icons/sensing-on.png
style:
top: 33%
left: 39%
width: 15%
image-rendering: crisp
- type: image
entity: sensor.washer_run_state
image: /local/custom-lovelace/icons/laundry-icons/wash.png
state_image:
Washing: /local/custom-lovelace/icons/laundry-icons/wash-on.png
style:
top: 33%
left: 55%
width: 15%
image-rendering: crisp
- type: image
entity: sensor.washer_run_state
image: /local/custom-lovelace/icons/laundry-icons/rinse.png
state_image:
Rinsing: /local/custom-lovelace/icons/laundry-icons/rinse-on.png
style:
top: 33%
left: 71%
width: 15%
image-rendering: crisp
- type: image
entity: sensor.washer_run_state
image: /local/custom-lovelace/icons/laundry-icons/spin.png
state_image:
Spinning: /local/custom-lovelace/icons/laundry-icons/spin-on.png
style:
top: 33%
left: 87%
width: 15%
image-rendering: crisp
- type: image
entity: sensor.washer
image: /local/custom-lovelace/icons/laundry-icons/wifi.png
state_image:
on: /local/custom-lovelace/icons/laundry-icons/wifi-on.png
style:
top: 73%
left: 39%
width: 7%
image-rendering: crisp
- type: image
entity: sensor.washer_door_lock
image: /local/custom-lovelace/icons/laundry-icons/lock.png
state_image:
on: /local/custom-lovelace/icons/laundry-icons/lock-on.png
style:
top: 73%
left: 52%
width: 7%
image-rendering: crisp
# - type: state-label
# entity: sensor.blank
# prefix: '18:88'
# style:
# color: '#555'
# font-family: segment7
# font-size: 50px
# left: 95%
# top: 74%
# transform: 'translate(-100%,-50%)'
- type: state-label
entity: sensor.fcb97e3fb7af_laundry_time_remaining
style:
color: '#FCD646'
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: 'translate(-100%,-50%)'
image: /local/custom-lovelace/icons/laundry-icons/hass-fp-washer-card-bg.png?v=3
# - type: conditional
# conditions:
# - entity: sensor.washer_run_state
# state_not: '-'
# card:
# type: entities
# entities:
# - entity: sensor.washer
# type: attribute
# attribute: current_course
# name: Current Course
# icon: 'mdi:tune-vertical-variant'
# - entity: sensor.washer
# type: attribute
# attribute: water_temp
# name: Water Temperature
# icon: 'mdi:coolant-temperature'
# - entity: sensor.washer
# type: attribute
# attribute: spin_speed
# name: Spin Speed
# icon: 'mdi:rotate-right'
# state_color: false

- type: picture-elements
title: Dryer
elements:
- type: image
entity: sensor.dryer_run_state
image: /local/custom-lovelace/icons/laundry-icons/dry.png
state_image:
Drying: /local/custom-lovelace/icons/laundry-icons/dry-on.png
style:
top: 33%
left: 69%
width: 15%
image-rendering: crisp
- type: image
entity: sensor.dryer_run_state
image: /local/custom-lovelace/icons/laundry-icons/cool.png
state_image:
Cooling: /local/custom-lovelace/icons/laundry-icons/cool-on.png
style:
top: 33%
left: 87%
width: 15%
image-rendering: crisp
- type: image
entity: sensor.dryer
image: /local/custom-lovelace/icons/laundry-icons/wifi.png
state_image:
'on': /local/custom-lovelace/icons/laundry-icons/wifi-on.png
style:
top: 73%
left: 39%
width: 7%
image-rendering: crisp
# - type: state-label
# entity: sensor.blank
# prefix: '18:88'
# style:
# color: '#555'
# font-family: segment7
# font-size: 50px
# left: 95%
# top: 74%
# transform: 'translate(-100%,-50%)'
- type: state-label
entity: sensor.d828c9f3fc0c_laundry_time_remaining
style:
color: '#FCD646'
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: 'translate(-100%,-50%)'
image: /local/custom-lovelace/icons/laundry-icons/hass-fp-dryer-card-bg.png?v=1
# - type: conditional
# conditions:
# - entity: sensor.dryer_run_state
# state_not: '-'
# card:
# type: entities
# entities:
# - entity: sensor.dryer
# type: attribute
# attribute: current_course
# name: Current Course
# icon: 'mdi:tune-vertical-variant'
# - entity: sensor.dryer
# type: attribute
# attribute: temp_control
# name: Temperature Control
# icon: 'mdi:thermometer'
# - entity: sensor.dryer
# type: attribute
# attribute: dry_level
# name: Dry Level
# icon: 'mdi:air-filter'

0 comments on commit 8ece142

Please sign in to comment.