Changing all kinds of shit

This commit is contained in:
CeeWeasel
2025-07-17 20:30:11 -04:00
parent 51d35b46e9
commit 81cbed6e51
36 changed files with 199 additions and 540 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ sensors:
work_hours:
unique_id: templatebinarysensor.work_hours
friendly_name: Work Hours
value_template: "{{ is_state('binary_sensor.work_day', 'on') and is_state('binary_sensor.business_hours', 'on') }}"
value_template: "{{ is_state('binary_sensor.is_workday', 'on') and is_state('binary_sensor.business_hours', 'on') }}"
icon_template: mdi:briefcase
# washing_machine:
@@ -1,5 +0,0 @@
name: White Bed LoadCell Load
icon: mdi:weight
min: -8388000
max: 8388000
mode: box
@@ -1,5 +0,0 @@
name: White Bed LoadCell Weight
icon: mdi:weight-pound
min: 0
max: 300
mode: box
@@ -1,5 +0,0 @@
name: White Bed LoadCell Zero
icon: mdi:weight
min: -8388000
max: 8388000
mode: box
@@ -1,5 +0,0 @@
name: White Bed Occupied
icon: mdi:weight
min: 0
max: 300
mode: box
@@ -1,25 +0,0 @@
# notify:
# name: DreamBox
# platform: hass_agent_notifier
# resource: !secret dreambox_hassagent
# # media_player:
# # - name: DreamBox
# # platform: hass_agent_mediaplayer
# # host: !secret dreambox_ip
# # port: 5115
template:
- trigger:
- platform: homeassistant
event: start
- platform: state
entity_id: sensor.dreambox_lastactive
binary_sensor:
- name: DreamBox Recently Active
unique_id: templatebinarysensor.dreambox_recently_active
icon: mdi:desktop-tower-monitor
#availability: "{{ states('sensor.dreambox_lastactive') not in ['unknown', 'unavailable'] }}"
state: " {{ iif( states('sensor.dreambox_lastactive') == 'unknown' or is_state('sensor.dreambox_lastactive', 'unavailable'), false, as_timestamp(now()) - as_timestamp(states('sensor.dreambox_lastactive'),0) < 180 or is_state('sensor.dreambox_usernotification','Busy'))}}"
@@ -1,37 +0,0 @@
# notify:
# name: DreamSurface
# platform: hass_agent_notifier
# resource: !secret dreamsurface_hassagent
# mqtt:
# light:
# - name: "DreamSurface: Screen Brightness"
# unique_id: "dreamsurface_screen_brightness"
# object_id: "dreamsurface_monitor_brightness"
# command_topic: "homeassistant/light/DREAMSURFACE/DREAMSURFACE_screen_brightness/action"
# brightness_command_topic: "homeassistant/light/HASSAGENT/dreamsurface_monitor_brightness/action"
# brightness_command_template: "%PROGRAMFILES(X86)%\\Monitorian\\Monitorian.exe /set {{ value }}"
# brightness_scale: 100
# on_command_type: "brightness"
# icon: mdi:monitor-shimmer
# # media_player:
# # - name: Dreamsurface
# # platform: hass_agent_mediaplayer
# # host: !secret dreamsurface_ip
# # port: 5115
template:
- trigger:
- platform: homeassistant
event: start
- platform: state
entity_id: sensor.dreamsurface_lastactive
binary_sensor:
- name: DreamSurface Recently Active
unique_id: templatebinarysensor.dreamsurface_recently_active
icon: mdi:tablet
#availability: "{{ states('sensor.dreamsurface_lastactive') not in ['unknown', 'unavailable'] }}"
state: " {{ iif( states('sensor.dreamsurface_lastactive') == 'unknown' or is_state('sensor.dreamsurface_lastactive', 'unavailable'), false, as_timestamp(now()) - as_timestamp(states('sensor.dreamsurface_lastactive'),0) < 180 or is_state('sensor.dreamsurface_usernotification','Busy'))}}"
@@ -1,6 +0,0 @@
notify:
- platform: group
name: "Dream Computers"
services:
- service: dreambox
- service: dreamsurface
@@ -1,5 +1,5 @@
clint_agh:
zone: agh
clint_work:
zone: work
devices:
- device_tracker.pixel_7
unit_of_measurement: mi