mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-18 11:16:37 +00:00
19
packages/light_sensor.yaml.old
Executable file
19
packages/light_sensor.yaml.old
Executable file
@@ -0,0 +1,19 @@
|
||||
#-------------------------------------------
|
||||
# Bruh Light Sensor Related Packages
|
||||
#-------------------------------------------
|
||||
#------LightSensor Node---http://amzn.to/2oUgj5i
|
||||
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 }}'
|
Reference in New Issue
Block a user