mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
#32 - First Step into the ESP world. Super Awesome! thanks @Bruhautomation
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -18,6 +18,7 @@ secrets.yaml
|
||||
secrets
|
||||
known_devices.yaml
|
||||
phue.conf
|
||||
ios.conf
|
||||
pyozw.sqlite
|
||||
nest.conf
|
||||
.uuid
|
||||
|
@@ -11,17 +11,18 @@
|
||||
to: 'Opened'
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.ifttt_notify
|
||||
data_template:
|
||||
value1: "The {{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} has been {{ (trigger.to_state.state)|replace('_', ' ') }}."
|
||||
value2: ''
|
||||
value3: ''
|
||||
|
||||
|
||||
- wait_template: "{{ states.media_player.livingroomCC.states != 'playing' }}"
|
||||
timeout: 00:00:30
|
||||
timeout: 00:01:30
|
||||
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.Voice_notify
|
||||
data_template:
|
||||
|
19
packages/light_sensor.yaml
Executable file
19
packages/light_sensor.yaml
Executable file
@@ -0,0 +1,19 @@
|
||||
#-------------------------------------------
|
||||
# Bruh Light Sensor Related Packages
|
||||
#-------------------------------------------
|
||||
#------LightSensor Node----------------------------
|
||||
homeassistant:
|
||||
customize:
|
||||
sensor.sn1_ldr:
|
||||
icon: mdi:sensor
|
||||
friendly_name: Light Sensor
|
||||
emulated_hue: False
|
||||
hidden: False
|
||||
#---Sensor for Light-----------------------------
|
||||
sensor:
|
||||
- platform: mqtt
|
||||
state_topic: "home/sensornode1"
|
||||
name: "SN1 LDR"
|
||||
##This sensor is not calibrated to actual LUX. Rather, this a map of the input voltage ranging from 0 - 1023.
|
||||
unit_of_measurement: "LUX"
|
||||
value_template: '{{ value_json.ldr }}'
|
@@ -6,7 +6,7 @@ homeassistant:
|
||||
customize:
|
||||
input_boolean.house_station:
|
||||
icon: mdi:radio
|
||||
friendly_name: Streaming Radio
|
||||
friendly_name: House Station
|
||||
emulated_hue: True
|
||||
hidden: False
|
||||
#---Use this Boolean to trigger via GUI or Alexa------------------------------
|
||||
|
Reference in New Issue
Block a user