mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Changing all kinds of shit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user