mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Cleanup fixes and some BS
This commit is contained in:
@@ -359,21 +359,21 @@ template:
|
||||
state: >
|
||||
{{ states('binary_sensor.is_raining') }}
|
||||
|
||||
- trigger:
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
# - trigger:
|
||||
# # - platform: homeassistant
|
||||
# # event: start
|
||||
|
||||
# - platform: time
|
||||
# at: '01:00:00'
|
||||
# # - platform: time
|
||||
# # at: '01:00:00'
|
||||
|
||||
# - platform: state
|
||||
# entity_id: input_boolean.sprinkler_is_winterized
|
||||
# # - platform: state
|
||||
# # entity_id: input_boolean.sprinkler_is_winterized
|
||||
|
||||
binary_sensor:
|
||||
- name: "Sprinkler: In Season"
|
||||
unique_id: "custom_binary_sensor.sprinkler_in_season"
|
||||
device_class: moisture
|
||||
state: "{{ now().month > 4 and now().month < 10 }}"
|
||||
# binary_sensor:
|
||||
# - name: "Sprinkler: In Season"
|
||||
# unique_id: "custom_binary_sensor.sprinkler_in_season"
|
||||
# device_class: moisture
|
||||
# state: "{{ now().month > 4 and now().month < 10 }}"
|
||||
|
||||
# - trigger:
|
||||
# - platform: homeassistant
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
input_text:
|
||||
gpt_prompt:
|
||||
initial: ""
|
||||
max: 255
|
||||
name: GPT Prompt
|
||||
|
||||
input_button:
|
||||
update_gpt_response:
|
||||
name: Update GPT Response
|
||||
icon: mdi:brain
|
||||
@@ -1,18 +0,0 @@
|
||||
automation:
|
||||
description: ""
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.hassio_mindsdb_response
|
||||
attribute: response_text
|
||||
condition: []
|
||||
action:
|
||||
- service: notify.send_message
|
||||
target:
|
||||
entity_id: notify.mindsdb_responses
|
||||
data:
|
||||
message: >
|
||||
"input":"{{ states('input_text.gpt_prompt') }}","output":"{{ state_attr('sensor.hassio_mindsdb_response','response_text')}}"
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ input_button:
|
||||
icon: mdi:sprinkler
|
||||
|
||||
full_run_program:
|
||||
name: Run Full run Program
|
||||
name: Run Full Run Program
|
||||
icon: mdi:sprinkler
|
||||
|
||||
automatic_run_program:
|
||||
@@ -156,7 +156,7 @@ automation:
|
||||
|
||||
- id: full_run_program_enabled
|
||||
platform: state
|
||||
entity_id: input_button.full_run
|
||||
entity_id: input_button.full_run_program
|
||||
|
||||
- id: automatic_run_program_enabled
|
||||
platform: state
|
||||
|
||||
Reference in New Issue
Block a user