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
@@ -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
-92
View File
@@ -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
-218
View File
@@ -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
-21
View File
@@ -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}}"