fixing exphome devices and getting rid of grocy

This commit is contained in:
CeeWeasel
2025-03-10 20:00:56 -04:00
parent 28c2087ac3
commit ab4a65387e
26 changed files with 37 additions and 1151 deletions
-520
View File
@@ -1,520 +0,0 @@
title: Chores
path: chores
icon: mdi:broom
type: sidebar
visible:
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
- user: cad46dedf86f454ebbd7f697a58730f2
cards:
- type: horizontal-stack
cards:
# - type: custom:mushroom-title-card
# title: "{{states('sensor.energy_tariff')}}"
# subtitle: "{{states('sensor.energy_cost')}} $/kWh"
- type: custom:mushroom-chips-card
chips:
- type: back
- type: custom:mushroom-title-card
title: Chores
- type: conditional
conditions:
- entity: input_boolean.grocy_all_chores
state: 'on'
card:
type: custom:grocy-chores-card
columns: 2
title: All Rooms
user_id:
default: 2
show_days: 2
show_create_task: false
show_assigned: true
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.grocy_all_tasks
state: 'on'
card:
type: custom:grocy-chores-card
columns: 2
title: All Tasks
user_id:
default: 2
show_create_task: true
show_assigned: true
entity:
- sensor.grocy_tasks
- type: conditional
conditions:
- entity: input_boolean.blue_room_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Blue Room
user_id:
default: 2
filter: "blue room"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.computer_area_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Computer Area
user_id:
default: 2
filter: "computer area"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.dining_room_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Dining Room
user_id:
default: 2
filter: "dining room"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.entryway_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Entryway
user_id: 2
filter: "entryway"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.front_room_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Front Room
user_id: 2
filter: "front room"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.furnace_room_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Furnace Room
user_id: 2
filter: "furnace room"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.garage_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Garage
user_id: 2
filter: "garage"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.kitchen_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Kitchen
user_id: 2
filter: "kitchen"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.great_room_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Great Room
user_id: 2
filter: "great room"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.mancave_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Mancave
user_id: 2
filter: "mancave"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.master_bathroom_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Master Bathroom
user_id: 2
filter: "master bathroom"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.master_bedroom_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Master Bedroom
user_id: 2
filter: "master bedroom"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.nursery_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Nursery
user_id: 2
filter: "nursery"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.utility_room_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Utility Room
user_id: 2
filter: "utility room"
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.daddy_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Daddy
user_id: 2
filter_user: 2
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.chickadee_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Chickadee
user_id: 5
filter_user: 5
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.marshall_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Marshall
user_id: 6
filter_user: 6
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.tess_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Tess
user_id: 7
filter_user: 7
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.emmett_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Emmett
user_id: 3
filter_user: 3
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.bridget_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Bridget
user_id: 4
filter_user: 4
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: conditional
conditions:
- entity: input_boolean.ebin_chores
state: 'on'
card:
type: custom:grocy-chores-card
title: Ebin
user_id: 8
filter_user: 8
show_quantity: 5
show_days: 2
show_create_task: false
show_assigned: false
entity:
- sensor.grocy_chores
- type: vertical-stack
view_layout:
position: sidebar
cards:
- type: horizontal-stack
view_layout:
position: sidebar
cards:
- type: glance
columns: 2
show_state: false
title: Room
entities:
- name: All Rooms
entity: input_boolean.grocy_all_chores
tap_action:
action: toggle
- name: All Tasks
entity: input_boolean.grocy_all_tasks
tap_action:
action: toggle
- name: Blue Room
entity: input_boolean.blue_room_chores
tap_action:
action: toggle
- name: Computer Area
entity: input_boolean.computer_area_chores
tap_action:
action: toggle
- name: Dining Room
entity: input_boolean.dining_room_chores
tap_action:
action: toggle
- name: Entryway
entity: input_boolean.entryway_chores
tap_action:
action: toggle
- name: Front Room
entity: input_boolean.front_room_chores
tap_action:
action: toggle
- name: Furnace Room
entity: input_boolean.furnace_room_chores
tap_action:
action: toggle
- name: Garage
entity: input_boolean.garage_chores
tap_action:
action: toggle
- name: Kitchen
entity: input_boolean.kitchen_chores
tap_action:
action: toggle
- name: Great Room
entity: input_boolean.great_room_chores
tap_action:
action: toggle
- name: Mancave
entity: input_boolean.mancave_chores
tap_action:
action: toggle
- name: Master Bathroom
entity: input_boolean.master_bathroom_chores
tap_action:
action: toggle
- name: Master Bedroom
entity: input_boolean.master_bedroom_chores
tap_action:
action: toggle
- name: Nursery
entity: input_boolean.nursery_chores
tap_action:
action: toggle
- name: Utility Room
entity: input_boolean.utility_room_chores
tap_action:
action: toggle
- type: glance
columns: 2
show_state: false
title: Person
entities:
- name: Daddy
entity: input_boolean.daddy_chores
tap_action:
action: toggle
- name: Chickadee
entity: input_boolean.chickadee_chores
tap_action:
action: toggle
- name: Marshall
entity: input_boolean.marshall_chores
tap_action:
action: toggle
- name: Tess
entity: input_boolean.tess_chores
tap_action:
action: toggle
- name: Emmett
entity: input_boolean.emmett_chores
tap_action:
action: toggle
- name: Bridget
entity: input_boolean.bridget_chores
tap_action:
action: toggle
- name: Ebin
entity: input_boolean.ebin_chores
tap_action:
action: toggle
-118
View File
@@ -1,118 +0,0 @@
title: Stock
path: stock
icon: mdi:fridge-variant
type: panel
visible:
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
- user: cad46dedf86f454ebbd7f697a58730f2
cards:
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
# - type: custom:mushroom-title-card
# title: "{{states('sensor.energy_tariff')}}"
# subtitle: "{{states('sensor.energy_cost')}} $/kWh"
- type: custom:mushroom-chips-card
chips:
- type: back
- type: custom:mushroom-title-card
title: Shopping
- type: markdown
content: |-
{% if state_attr('binary_sensor.grocy_missing_products','count')|int(default=0) > 0 %}
## Missing ##
|Name|Missing|Available|
|:---|:---:|---:|
{%- for i in range(0,(state_attr('binary_sensor.grocy_missing_products','count')|int(default=0) )) %}
|{{ (state_attr("binary_sensor.grocy_missing_products", "missing_products")[i]).name }} | {{
(state_attr("binary_sensor.grocy_missing_products", "missing_products")[i]).amount_missing }} | {{
(state_attr("binary_sensor.grocy_missing_products", "missing_products")[i]).available_amount }} | {%- endfor %}
{% endif %}
{% if state_attr('binary_sensor.grocy_expiring_products','count')|int(default=0) > 0 %}
***
## Expiring ##
{% for i in range(0,(state_attr('binary_sensor.grocy_expiring_products','count')|int(default=0) )) %}
{{ (state_attr("binary_sensor.grocy_expiring_products", "expiring_products")[i]).name }} {%-
endfor %}
{% endif %}
{% if state_attr('binary_sensor.grocy_expired_products','count')|int(default=0) > 0 %}
***
## Expired ##
{% for i in range(0,(state_attr('binary_sensor.grocy_expired_products','count')|int(default=0) )) %}
{{ (state_attr("binary_sensor.grocy_expired_products", "expired_products")[i]).name }} {%-
endfor %}
{% endif %}
{% if state_attr('binary_sensor.grocy_overdue_products','count')|int(default=0) > 0 %}
***
## Overdue ##
| Product | Best Before |
|:---|---:|
{%- for i in range(0,(state_attr('binary_sensor.grocy_overdue_products','count')|int(default=0) )) %}
| {{ (state_attr("binary_sensor.grocy_overdue_products", "overdue_products")[i]).name }} | {{
(state_attr("binary_sensor.grocy_overdue_products", "overdue_products")[i]).best_before_date }} |
{%- endfor %}
{% endif %}
{% if states('sensor.grocy_stock')|int(default=0) > 0 %}
***
## Stock ##
|Product|Available|
|:---|---:|
{%- for i in range(0,(state_attr('sensor.grocy_stock','count')|int(default=0) )) %}
|{{ (state_attr("sensor.grocy_stock", "products")[i]).name }} | {{
(state_attr("sensor.grocy_stock", "products")[i]).available_amount }} | {%- endfor %}
{% else %}### No stock on hand ###{% endif %}
- type: glance
entities:
- entity: input_button.grocy_purchase_am_meds
name: AM Meds
tap_action:
action: toggle
- entity: input_button.grocy_purchase_pm_meds
name: PM Meds
tap_action:
action: toggle
- entity: input_button.grocy_purchase_milk
name: Milk
tap_action:
action: toggle
- entity: input_button.grocy_purchase_diet_coke_12_pack
name: Diet Coke (12)
tap_action:
action: toggle
show_state: false
columns: 4
title: Purchase
- type: glance
entities:
- entity: input_button.grocy_consume_am_meds
name: AM Meds
- entity: input_button.grocy_consume_pm_meds
name: PM Meds
- entity: input_button.grocy_consume_milk
name: Milk
- entity: input_button.grocy_consume_diet_coke
name: Diet Coke
tap_action:
action: call-service
service: input_button.press
show_state: false
title: Consume
columns: 4
+2 -2
View File
@@ -34,14 +34,14 @@ cards:
- type: weather-forecast
entity: weather.forecast_home
entity: weather.openweathermap
name: Next 5 Hours
show_current: true
show_forecast: true
forecast_type: hourly
- type: weather-forecast
entity: weather.forecast_home
entity: weather.thermostat
name: Next 5 Days
show_current: true
show_forecast: true
+2 -2
View File
@@ -1501,13 +1501,13 @@ cards:
camera_entity: camera.mail_usps_camera
- type: custom:hourly-weather
entity: weather.forecast_home
entity: weather.openweathermap
icons: true
name: ""
hide_hours: false
- type: custom:clock-weather-card
entity: weather.forecast_home
entity: weather.thermostat
weather_icon_type: fill
time_format: 12
date_pattern: DDDD