mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
fixing exphome devices and getting rid of grocy
This commit is contained in:
@@ -40,6 +40,7 @@ snapshots/
|
||||
rtl_433/
|
||||
components/packages/openmindsai/openminds_sensor.yaml
|
||||
/lovelace/private
|
||||
model_cache/
|
||||
|
||||
secrets.yaml
|
||||
google_calendars.yaml
|
||||
|
||||
@@ -39,4 +39,4 @@ action:
|
||||
target:
|
||||
entity_id: input_datetime.clint_next_alarm
|
||||
data:
|
||||
time: "06:00:00"
|
||||
time: "05:30:00"
|
||||
|
||||
@@ -20,6 +20,12 @@ action:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
volume_level: 0.95
|
||||
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 5
|
||||
milliseconds: 0
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
|
||||
@@ -7,6 +7,6 @@ trigger:
|
||||
to: "off"
|
||||
|
||||
action:
|
||||
- service: media_player.turn_off
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# Note, this is using new automation features introduced in Home Assistant 0.115
|
||||
id: handle_chore_tag_scan
|
||||
alias: Handle Chore Tag Scan
|
||||
mode: single
|
||||
# Hide warnings when triggered while in delay.
|
||||
max_exceeded: silent
|
||||
variables:
|
||||
# Map scanner device ID to media player entity ID
|
||||
devices:
|
||||
75060fd1afdd90be: 2
|
||||
|
||||
# Map tag ID to content
|
||||
tags:
|
||||
# Lights: Reading
|
||||
04-1F-22-8A-21-6E-81:
|
||||
chore_id: 4
|
||||
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: tag_scanned
|
||||
condition:
|
||||
# Test that we support this device and tag
|
||||
- "{{ trigger.event.data.tag_id in tags }}"
|
||||
- "{{ trigger.event.data.device_id in devices }}"
|
||||
action:
|
||||
- variables:
|
||||
person_id: "{{ devices[trigger.event.data.device_id] }}"
|
||||
chore_id: "{{ tags[trigger.event.data.tag_id].chore_id }}"
|
||||
|
||||
|
||||
- service: logbook.log
|
||||
data_template:
|
||||
name: Handle Chore Tag Scan
|
||||
entity_id: automation.handle_chore_tag_scan
|
||||
message: >
|
||||
Tag {{ trigger.event.data.tag_id }} scanned on device {{ trigger.event.data.device_id }}. person_id: {{ person_id }} - chore_id: {{ chore_id }}
|
||||
|
||||
- service: grocy.execute_chore
|
||||
data:
|
||||
chore_id: "{{chore_id}}"
|
||||
done_by: "{{person_id}}"
|
||||
|
||||
- delay: 2 # timeout before we allow processing next scan
|
||||
@@ -56,8 +56,3 @@ action:
|
||||
data:
|
||||
media_content_id: media-source://media_source/local/Sounds/tts/coffee_ready.mp3
|
||||
|
||||
- alias: "Consume K-Cup"
|
||||
service: input_button.press
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_button.grocy_consume_kcup
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
all_chores:
|
||||
name: All Chores
|
||||
icon: mdi:checkbox-marked-circle
|
||||
|
||||
blue_room_chores:
|
||||
name: Blue Room Chores
|
||||
icon: mdi:yoga
|
||||
|
||||
computer_area_chores:
|
||||
name: Computer Area Chores
|
||||
icon: mdi:desktop-classic
|
||||
|
||||
dining_room_chores:
|
||||
name: Dining Room Chores
|
||||
icon: mdi:table-chair
|
||||
|
||||
entryway_chores:
|
||||
name: Entryway Chores
|
||||
icon: mdi:ceiling-light
|
||||
|
||||
front_room_chores:
|
||||
name: Front Room Chores
|
||||
icon: mdi:television
|
||||
|
||||
furnace_room_chores:
|
||||
name: Furnace Room Chores
|
||||
icon: mdi:hvac
|
||||
|
||||
garage_chores:
|
||||
name: Garage Chores
|
||||
icon: mdi:garage
|
||||
|
||||
kitchen_chores:
|
||||
name: Kitchen Chores
|
||||
icon: mdi:fridge
|
||||
|
||||
great_room_chores:
|
||||
name: Great Room Chores
|
||||
icon: mdi:microsoft-xbox-controller
|
||||
|
||||
mancave_chores:
|
||||
name: Mancave Chores
|
||||
icon: mdi:human-male
|
||||
|
||||
master_bathroom_chores:
|
||||
name: Master Bathroom Chores
|
||||
icon: mdi:shower
|
||||
|
||||
master_bedroom_chores:
|
||||
name: Master Bedroom Chores
|
||||
icon: mdi:bed-king
|
||||
|
||||
nursery_chores:
|
||||
name: Nursery Chores
|
||||
icon: mdi:bunk-bed
|
||||
|
||||
utility_room_chores:
|
||||
name: Utility Room Chores
|
||||
icon: mdi:tumble-dryer
|
||||
|
||||
daddy_chores:
|
||||
name: Daddy's Chores
|
||||
icon: mdi:human-male
|
||||
|
||||
chickadee_chores:
|
||||
name: Chickadee's Chores
|
||||
icon: mdi:human-female
|
||||
|
||||
marshall_chores:
|
||||
name: Marshall's Chores
|
||||
icon: mdi:alpha-m-circle-outline
|
||||
|
||||
tess_chores:
|
||||
name: Tess' Chores
|
||||
icon: mdi:alpha-t-circle-outline
|
||||
|
||||
emmett_chores:
|
||||
name: Emmett's Chores
|
||||
icon: mdi:alpha-e-circle
|
||||
|
||||
bridget_chores:
|
||||
name: Bridget's Chores
|
||||
icon: mdi:alpha-b-circle
|
||||
|
||||
ebin_chores:
|
||||
name: Ebin's Chores
|
||||
icon: mdi:alpha-e-circle-outline
|
||||
@@ -1,19 +0,0 @@
|
||||
grocy_consume_kcup:
|
||||
name: Consume KCup
|
||||
icon: mdi:coffee
|
||||
|
||||
grocy_consume_am_meds:
|
||||
name: Consume AM Meds
|
||||
icon: mdi:pill
|
||||
|
||||
grocy_consume_pm_meds:
|
||||
name: Consume PM Meds
|
||||
icon: mdi:pill
|
||||
|
||||
grocy_consume_milk:
|
||||
name: Consume Milk
|
||||
icon: mdi:cup
|
||||
|
||||
grocy_consume_diet_coke:
|
||||
name: Consume Diet Coke
|
||||
icon: mdi:bottle-soda-classic
|
||||
@@ -1,15 +0,0 @@
|
||||
grocy_purchase_am_meds:
|
||||
name: Purchase AM Meds
|
||||
icon: mdi:pill
|
||||
|
||||
grocy_purchase_pm_meds:
|
||||
name: Purchase PM Meds
|
||||
icon: mdi:pill
|
||||
|
||||
grocy_purchase_milk:
|
||||
name: Purchase Milk
|
||||
icon: mdi:cup
|
||||
|
||||
grocy_purchase_diet_coke_12_pack:
|
||||
name: Purchase Diet Coke 12 Pack
|
||||
icon: mdi:bottle-soda-classic
|
||||
@@ -1,92 +0,0 @@
|
||||
input_boolean:
|
||||
grocy_all_chores:
|
||||
name: All Chores
|
||||
icon: mdi:broom
|
||||
|
||||
grocy_all_tasks:
|
||||
name: All Tasks
|
||||
icon: mdi:checkbox-marked-circle
|
||||
|
||||
daddy_chores:
|
||||
name: Daddy
|
||||
icon: mdi:human-male
|
||||
|
||||
chickadee_chores:
|
||||
name: Chickadee
|
||||
icon: mdi:human-female
|
||||
|
||||
marshall_chores:
|
||||
name: Marshall
|
||||
icon: mdi:alpha-m-circle-outline
|
||||
|
||||
tess_chores:
|
||||
name: Tess
|
||||
icon: mdi:alpha-t-circle-outline
|
||||
|
||||
emmett_chores:
|
||||
name: Emmett
|
||||
icon: mdi:alpha-e-circle
|
||||
|
||||
bridget_chores:
|
||||
name: Bridget
|
||||
icon: mdi:alpha-b-circle
|
||||
|
||||
ebin_chores:
|
||||
name: Ebin
|
||||
icon: mdi:alpha-e-circle-outline
|
||||
|
||||
blue_room_chores:
|
||||
name: Blue Room Chores
|
||||
icon: mdi:yoga
|
||||
|
||||
computer_area_chores:
|
||||
name: Computer Area Chores
|
||||
icon: mdi:desktop-classic
|
||||
|
||||
dining_room_chores:
|
||||
name: Dining Room Chores
|
||||
icon: mdi:table-chair
|
||||
|
||||
entryway_chores:
|
||||
name: Entryway Chores
|
||||
icon: mdi:ceiling-light
|
||||
|
||||
front_room_chores:
|
||||
name: Front Room Chores
|
||||
icon: mdi:television
|
||||
|
||||
furnace_room_chores:
|
||||
name: Furnace Room Chores
|
||||
icon: mdi:hvac
|
||||
|
||||
garage_chores:
|
||||
name: Garage Chores
|
||||
icon: mdi:garage
|
||||
|
||||
kitchen_chores:
|
||||
name: Kitchen Chores
|
||||
icon: mdi:fridge
|
||||
|
||||
great_room_chores:
|
||||
name: Great Room Chores
|
||||
icon: mdi:microsoft-xbox-controller
|
||||
|
||||
mancave_chores:
|
||||
name: Mancave Chores
|
||||
icon: mdi:human-male
|
||||
|
||||
master_bathroom_chores:
|
||||
name: Master Bathroom Chores
|
||||
icon: mdi:shower
|
||||
|
||||
master_bedroom_chores:
|
||||
name: Master Bedroom Chores
|
||||
icon: mdi:bed-king
|
||||
|
||||
nursery_chores:
|
||||
name: Nursery Chores
|
||||
icon: mdi:bunk-bed
|
||||
|
||||
utility_room_chores:
|
||||
name: Utility Room Chores
|
||||
icon: mdi:washing-machine
|
||||
@@ -1,218 +0,0 @@
|
||||
input_select:
|
||||
grocy_users:
|
||||
name: Grocy Users
|
||||
icon: mdi:account-multiple
|
||||
options:
|
||||
- Daddy
|
||||
- Chickadee
|
||||
- Marshall
|
||||
- Tess
|
||||
- Emmett
|
||||
- Bridget
|
||||
- Ebin
|
||||
|
||||
grocy_purchase:
|
||||
name: Purchase via Grocy
|
||||
icon: mdi:form-dropdown
|
||||
options:
|
||||
- KCups
|
||||
- Dishwashing Tablets
|
||||
- Diet Coke
|
||||
|
||||
grocy_consume:
|
||||
name: Consume via Grocy
|
||||
icon: mdi:form-dropdown
|
||||
options:
|
||||
- KCups
|
||||
- Dishwashing Tablets
|
||||
- Diet Coke
|
||||
|
||||
input_number:
|
||||
grocy_consume_purchase:
|
||||
name: Grocy Consume or Purchase
|
||||
icon: mdi:tally-mark-5
|
||||
min: 0
|
||||
max: 200
|
||||
mode: box
|
||||
|
||||
automation:
|
||||
- id: grocy_consume_dishwasher_tablet
|
||||
alias: Consume Dishwasher Tablet
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.dishwasher
|
||||
to: 'on'
|
||||
for:
|
||||
minutes: 10
|
||||
|
||||
action:
|
||||
- alias: "Consume 1 Dishwasher tablet"
|
||||
service: grocy.consume_product_from_stock
|
||||
data:
|
||||
transaction_type: CONSUME
|
||||
product_id: 14
|
||||
amount: 1
|
||||
|
||||
|
||||
- id: grocy_purchase_am_meds
|
||||
alias: 'Purchase AM Meds'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_button.grocy_purchase_am_meds
|
||||
|
||||
action:
|
||||
alias: Add 30 AM Meds to stock
|
||||
service: grocy.add_product_to_stock
|
||||
data:
|
||||
product_id: 17
|
||||
amount: 30
|
||||
|
||||
- id: grocy_clint_consume_am_meds
|
||||
alias: Clint Consume AM Meds
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_button.grocy_consume_am_meds
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.clint_needs_am_meds
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
|
||||
action:
|
||||
- alias: "Clint consume AM meds"
|
||||
service: grocy.consume_product_from_stock
|
||||
data:
|
||||
transaction_type: CONSUME
|
||||
product_id: 17
|
||||
amount: 1
|
||||
|
||||
- id: grocy_purchase_pm_meds
|
||||
alias: 'Purchase PM Meds'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_button.grocy_purchase_pm_meds
|
||||
|
||||
action:
|
||||
alias: Add 30 PM Meds to stock
|
||||
service: grocy.add_product_to_stock
|
||||
data:
|
||||
product_id: 18
|
||||
amount: 30
|
||||
|
||||
- id: grocy_clint_consume_pm_meds
|
||||
alias: 'Clint Consume PM Meds'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_button.grocy_consume_pm_meds
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.clint_needs_pm_meds
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
|
||||
action:
|
||||
- alias: "Clint consume PM meds"
|
||||
service: grocy.consume_product_from_stock
|
||||
data:
|
||||
transaction_type: CONSUME
|
||||
product_id: 18
|
||||
amount: 1
|
||||
|
||||
- id: grocy_manage_milk
|
||||
alias: 'Manage Milk'
|
||||
|
||||
trigger:
|
||||
- id: 'consume_milk'
|
||||
platform: state
|
||||
entity_id: input_button.grocy_consume_milk
|
||||
|
||||
- id: 'purchase_milk'
|
||||
platform: state
|
||||
entity_id: input_button.grocy_purchase_milk
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: consume_milk
|
||||
sequence:
|
||||
- alias: "Consume gallon of milk"
|
||||
service: grocy.consume_product_from_stock
|
||||
data:
|
||||
transaction_type: CONSUME
|
||||
product_id: 33
|
||||
amount: 128
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: purchase_milk
|
||||
sequence:
|
||||
- alias: "Purchase gallon of milk"
|
||||
service: grocy.add_product_to_stock
|
||||
data:
|
||||
product_id: 33
|
||||
amount: 128
|
||||
|
||||
- id: grocy_manage_diet_coke
|
||||
alias: 'Manage Diet Coke'
|
||||
|
||||
trigger:
|
||||
- id: 'consume'
|
||||
platform: state
|
||||
entity_id: input_button.grocy_consume_diet_coke
|
||||
|
||||
- id: 'purchase'
|
||||
platform: state
|
||||
entity_id: input_button.grocy_purchase_diet_coke_12_pack
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: consume
|
||||
sequence:
|
||||
- alias: "Consume Diet Coke"
|
||||
service: grocy.consume_product_from_stock
|
||||
data:
|
||||
transaction_type: CONSUME
|
||||
product_id: 21
|
||||
amount: 1
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: purchase
|
||||
sequence:
|
||||
- alias: "Purchase 12 pack of Diet Coke"
|
||||
service: grocy.add_product_to_stock
|
||||
data:
|
||||
product_id: 21
|
||||
amount: 12
|
||||
|
||||
- id: grocy_consume_kcup
|
||||
alias: 'Consume K-Cup'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_button.grocy_consume_kcup
|
||||
|
||||
action:
|
||||
- alias: "Consume KCup"
|
||||
service: grocy.consume_product_from_stock
|
||||
data:
|
||||
transaction_type: CONSUME
|
||||
product_id: 20
|
||||
amount: 1
|
||||
|
||||
# script:
|
||||
# consume_kcup:
|
||||
# alias: Consume K-Cup
|
||||
# sequence:
|
||||
# - alias: "Consume K-Cup"
|
||||
# service: grocy.consume_product_from_stock
|
||||
# data:
|
||||
# transaction_type: CONSUME
|
||||
# product_id: 20
|
||||
# amount: 1
|
||||
@@ -1,21 +0,0 @@
|
||||
binary_sensor:
|
||||
- name: "Chore: Mow"
|
||||
unique_id: rest_binary_sensor.chore_mow
|
||||
platform: rest
|
||||
resource: http://192.168.1.11:9192/api/chores/32
|
||||
icon: mdi:mower-bag
|
||||
headers:
|
||||
GROCY-API-KEY: !secret grocy_api_key
|
||||
accept: "application/json"
|
||||
value_template: "{{value_json.next_estimated_execution_time}}"
|
||||
|
||||
sensor:
|
||||
- name: "Chore: Mow"
|
||||
unique_id: rest_sensor.chore_mow
|
||||
platform: rest
|
||||
resource: http://192.168.1.11:9192/api/chores/32
|
||||
icon: mdi:mower-bag
|
||||
headers:
|
||||
GROCY-API-KEY: !secret grocy_api_key
|
||||
accept: "application/json"
|
||||
value_template: "{{value_json.next_estimated_execution_time}}"
|
||||
@@ -21,4 +21,7 @@ logger:
|
||||
packages:
|
||||
wifi: !include common/wifi.yaml
|
||||
device_base: !include common/device_base.yaml
|
||||
hx711: !include common/hx711_single_verbose.yaml
|
||||
hx711: !include common/hx711_single_verbose.yaml
|
||||
|
||||
esp8266:
|
||||
board: nodemcuv2
|
||||
@@ -1,7 +1,7 @@
|
||||
esphome:
|
||||
name: ${devicename}
|
||||
platform: ${platform}
|
||||
board: ${board}
|
||||
# platform: ${platform}
|
||||
# board: ${board}
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
entity_name: front_yard_plant_monitor
|
||||
friendly_name: Front Yard Plant Monitor
|
||||
platform: ESP32
|
||||
board: esp32-poe-iso #nodemcu-32s
|
||||
board: esp32-poe-iso
|
||||
static_ip: !secret front-yard-plant-monitor-ip
|
||||
|
||||
packages:
|
||||
@@ -12,6 +12,8 @@ packages:
|
||||
device_base: !include common/device_base.yaml
|
||||
ble_proxy: !include common/ble_proxy.yaml
|
||||
|
||||
esp32:
|
||||
board: esp32-poe-iso
|
||||
|
||||
logger:
|
||||
level: DEBUG
|
||||
|
||||
@@ -12,6 +12,9 @@ packages:
|
||||
device_base: !include common/device_base.yaml
|
||||
ble_proxy: !include common/ble_proxy.yaml
|
||||
|
||||
esp32:
|
||||
board: esp32-poe-iso
|
||||
|
||||
logger:
|
||||
level: DEBUG
|
||||
logs:
|
||||
|
||||
@@ -23,3 +23,6 @@ packages:
|
||||
device_base: !include common/device_base.yaml
|
||||
hx711: !include common/hx711_single_verbose.yaml
|
||||
ble_proxy: !include common/ble_proxy.yaml
|
||||
|
||||
esp32:
|
||||
board: wemos_d1_mini32
|
||||
|
||||
@@ -10,6 +10,9 @@ packages:
|
||||
wifi: !include common/wifi.yaml
|
||||
device_base: !include common/device_base.yaml
|
||||
|
||||
esp8266:
|
||||
board: d1_mini
|
||||
|
||||
esphome:
|
||||
# If buzzer is enabled, notify on api connection success
|
||||
on_boot:
|
||||
|
||||
@@ -82,6 +82,9 @@ packages:
|
||||
# device_base: !include common/complex_esp32_base.yaml
|
||||
device_base: !include common/device_base.yaml
|
||||
|
||||
esp32:
|
||||
board: nodemcu-32s
|
||||
|
||||
# web_server:
|
||||
# port: 80
|
||||
|
||||
|
||||
@@ -22,3 +22,6 @@ packages:
|
||||
wifi: !include common/wifi.yaml
|
||||
device_base: !include common/device_base.yaml
|
||||
hx711: !include common/hx711_single_verbose.yaml
|
||||
|
||||
esp8266:
|
||||
board: nodemcuv2
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,12 +4,9 @@ icon: mdi:magnify
|
||||
views:
|
||||
- !include lovelace/details/view-power-breaker.yaml
|
||||
- !include lovelace/details/view-mobile-app.yaml
|
||||
- !include lovelace/details/view-chores.yaml
|
||||
- !include lovelace/details/view-stock.yaml
|
||||
- !include lovelace/details/view-hvac.yaml
|
||||
- !include lovelace/details/view-watchman.yaml
|
||||
- !include lovelace/details/view-batteries.yaml
|
||||
- !include lovelace/details/view-weather.yaml
|
||||
- !include lovelace/details/view-people.yaml
|
||||
- !include lovelace/details/view-nws-alerts.yaml
|
||||
- !include lovelace/details/view-openminds.yaml
|
||||
Reference in New Issue
Block a user