mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-18 03:15:45 +00:00
Awesome Emulated Hue Support Basically!
This commit is contained in:
@@ -105,6 +105,8 @@ SUNSET:
|
|||||||
* http://www.esp8266.nu/index.php/ESPEasy
|
* http://www.esp8266.nu/index.php/ESPEasy
|
||||||
* https://translate.google.com/translate?hl=en&sl=de&tl=en&u=https%3A%2F%2Falexbloggt.com%2Funiversal-infrarot-websteuerung-ueber-esp8266%2F
|
* https://translate.google.com/translate?hl=en&sl=de&tl=en&u=https%3A%2F%2Falexbloggt.com%2Funiversal-infrarot-websteuerung-ueber-esp8266%2F
|
||||||
|
|
||||||
|
* https://github.com/jayrox/esp8266_ir_blaster
|
||||||
|
|
||||||
https://community.home-assistant.io/t/snmp-bandwidth-monitor/7122
|
https://community.home-assistant.io/t/snmp-bandwidth-monitor/7122
|
||||||
|
|
||||||
resource for my RF switches. (MQTT) bit.ly/2gBiOqz
|
resource for my RF switches. (MQTT) bit.ly/2gBiOqz
|
||||||
|
227
customize/lights.yaml
Executable file
227
customize/lights.yaml
Executable file
@@ -0,0 +1,227 @@
|
|||||||
|
light.bedroom:
|
||||||
|
friendly_name: 'Bedroom'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.couch:
|
||||||
|
friendly_name: 'Couch'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.couch_1:
|
||||||
|
friendly_name: 'Couch 1'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.d1:
|
||||||
|
friendly_name: 'D1'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.d2:
|
||||||
|
friendly_name: 'D2'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.den:
|
||||||
|
friendly_name: 'Den'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.den_lamp:
|
||||||
|
friendly_name: 'Den Lamp'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.dinette:
|
||||||
|
friendly_name: 'Dinette'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.dining_room:
|
||||||
|
friendly_name: 'Dining Room'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.f1:
|
||||||
|
friendly_name: 'F1'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.f2:
|
||||||
|
friendly_name: 'F2'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.foyer:
|
||||||
|
friendly_name: 'Foyer'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.fridge:
|
||||||
|
friendly_name: 'Fridge'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.garage:
|
||||||
|
friendly_name: 'Garage'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.garage_attic:
|
||||||
|
friendly_name: 'Garage Attic'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.garage_left:
|
||||||
|
friendly_name: 'Garage_Left'
|
||||||
|
emulated_hue: True
|
||||||
|
|
||||||
|
light.hallway:
|
||||||
|
friendly_name: 'Hallway'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.hallway_2:
|
||||||
|
friendly_name: 'Hallway'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.k1:
|
||||||
|
friendly_name: 'K1'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.k2:
|
||||||
|
friendly_name: 'K2'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.k3:
|
||||||
|
friendly_name: 'K3'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.k4:
|
||||||
|
friendly_name: 'K4'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.k5:
|
||||||
|
friendly_name: 'K5'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.k6:
|
||||||
|
friendly_name: 'K6'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.kitchen:
|
||||||
|
friendly_name: 'Kitchen'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.living_room:
|
||||||
|
friendly_name: 'Living Room'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.m1_back_left:
|
||||||
|
friendly_name: 'M1 Back left'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.m1_back_right:
|
||||||
|
friendly_name: 'M1 back right'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.m1_front_left:
|
||||||
|
friendly_name: 'M1 front left'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.m1_front_right:
|
||||||
|
friendly_name: 'M1 front right'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.m1_slider:
|
||||||
|
friendly_name: 'M1 Slider'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.master_bathroom:
|
||||||
|
friendly_name: 'Master Bathroom'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.master_bedroom:
|
||||||
|
friendly_name: 'Master Bedroom'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.master_toilet:
|
||||||
|
friendly_name: 'Master Toilet'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.office:
|
||||||
|
friendly_name: 'Office'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.office_lamp:
|
||||||
|
friendly_name: 'Office Lamp'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.outdoor_bathroom:
|
||||||
|
friendly_name: 'Outdoor Bathroom'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.outdoor_foyer:
|
||||||
|
friendly_name: 'Outdoor Foyer'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.outdoor_front:
|
||||||
|
friendly_name: 'Outdoor Front'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.outdoor_sconce_1:
|
||||||
|
friendly_name: 'Outdoor Sconce 1'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.outdoor_sconce_2:
|
||||||
|
friendly_name: 'Outdoor Sconce 2'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.outdoor_sconce_3:
|
||||||
|
friendly_name: 'Outdoor Sconce 3'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.p1_back_left:
|
||||||
|
friendly_name: 'P1 back left'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.p1_back_right:
|
||||||
|
friendly_name: 'P1 back right'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.p1_front_left:
|
||||||
|
friendly_name: 'P1 front left'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.p1_front_right:
|
||||||
|
friendly_name: 'P1 Front right'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.pool:
|
||||||
|
friendly_name: 'Pool'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.s1:
|
||||||
|
friendly_name: 'S1'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.s2:
|
||||||
|
friendly_name: 'S2'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.s3:
|
||||||
|
friendly_name: 'S3'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.s4:
|
||||||
|
friendly_name: 'S4'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.sink:
|
||||||
|
friendly_name: 'Sink'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.sml:
|
||||||
|
friendly_name: 'SML'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.tv_light:
|
||||||
|
friendly_name: 'TV Light'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.tv_stand_light:
|
||||||
|
friendly_name: 'TV Stand Light'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.upstairs:
|
||||||
|
friendly_name: 'Upstairs'
|
||||||
|
emulated_hue: False
|
||||||
|
|
||||||
|
light.upstairs_lamp:
|
||||||
|
friendly_name: 'Upstairs_lamp'
|
||||||
|
emulated_hue: False
|
27
shell_scripts/Jinja Code.py
Executable file
27
shell_scripts/Jinja Code.py
Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
You can use this code to quickly create files from the template editor in HA.
|
||||||
|
|
||||||
|
#########################################################3
|
||||||
|
Create fast Customize for groups.yaml:
|
||||||
|
|
||||||
|
{% for state in states.group -%}
|
||||||
|
{% if loop.first %}
|
||||||
|
{% elif loop.last %}
|
||||||
|
{% else %}
|
||||||
|
{% endif %}
|
||||||
|
{{ state.entity_id }}:
|
||||||
|
friendly_name: '{{ state.attributes.friendly_name if state.attributes.friendly_name is defined else state.name }}'
|
||||||
|
emulated_hue: {{state.attributes.emulated_hue if state.attributes.emulated_hue is defined else 'False' }}
|
||||||
|
{%- endfor -%}
|
||||||
|
|
||||||
|
#########################################################
|
||||||
|
Create fast Customize for lights.yaml
|
||||||
|
|
||||||
|
{% for state in states.light -%}
|
||||||
|
{% if loop.first %}
|
||||||
|
{% elif loop.last %}
|
||||||
|
{% else %}
|
||||||
|
{% endif %}
|
||||||
|
{{ state.entity_id }}:
|
||||||
|
friendly_name: '{{ state.attributes.friendly_name if state.attributes.friendly_name is defined else state.name }}'
|
||||||
|
emulated_hue: {{state.attributes.emulated_hue if state.attributes.emulated_hue is defined else 'False' }}
|
||||||
|
{%- endfor -%}
|
@@ -1,16 +0,0 @@
|
|||||||
Upi can use this code to quickly create files from the template editor in HA.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Create fast CUSTOMIZE.YAML:
|
|
||||||
|
|
||||||
{% for state in states.group -%}
|
|
||||||
{%- if loop.first %}
|
|
||||||
{% elif loop.last %}
|
|
||||||
{% else %}
|
|
||||||
{% endif -%}
|
|
||||||
{{ state.entity_id }}:
|
|
||||||
friendly_name: '{{ state.name }}'
|
|
||||||
emulated_hue: true
|
|
||||||
{%- endfor -%}
|
|
||||||
|
|
Reference in New Issue
Block a user