This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ============================================================ | |
# Edit substitutions for your naming, devices and passwords here. | |
# | |
# This code assumes you have a climate thermostat entity and a separate temperature sensor. If you want to use the temperature sensor in your thermostat you need to change the code. | |
# thermostat_entity: Your climate entity that this device will control. | |
# temperature_entity: Your thermometer sensor that measures the current temperature in the room. Only used for graph and display. | |
substitutions: | |
name: cyd-thermostat | |
friendly_name: "CYD Thermostat Control" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- set raindata = state_attr("sensor.nodered_rain_buienalarm","data")["precip"] %} | |
{%- for fifteenminutes in raindata|batch(3) %} | |
{%- if loop.index > 8 %}{{""}} | |
{%- else %} | |
{%- set rainintensity = fifteenminutes|max %} | |
{%- if rainintensity < 0.1 %}{{"▁"}} | |
{%- elif 0.1 <= rainintensity < 0.5 %}{{"▂"}} | |
{%- elif 0.5 <= rainintensity < 1 %}{{"▃"}} | |
{%- elif 1 <= rainintensity < 1.5 %}{{"▄"}} | |
{%- elif 1.5 <= rainintensity < 2 %}{{"▅"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
name: "everything-presence-one-123abc" | |
room: "Living Room" | |
friendly_name: "Everything Presence One" | |
project_name: "Everything Smart Technology.Everything Presence One" | |
project_version: "1.1.3" | |
temperature_offset: "-3" | |
humidity_offset: "5" | |
temperature_update_interval: "60s" | |
illuminance_update_interval: "30s" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
button_card_templates: !include_dir_merge_named "../../custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/" | |
title: "UI Lovelace Minimalist" | |
theme: "minimalist-desktop" | |
background: "var(--background-image)" | |
# views: !include_dir_merge_list "views/" | |
views: | |
- title: "Home View" | |
path: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
align_header: left | |
align_icon: left | |
entities: | |
- entity: sensor.multi_bedroom_temperature | |
- entity: sensor.multi_bedroom_humidity | |
show_graph: false | |
show_state: true | |
- entity: sensor.multi_bedroom_pressure | |
show_graph: false | |
show_state: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensor: | |
- platform: template | |
sensors: | |
nightstate: | |
friendly_name: Night State | |
value_template: "{% if is_state('sun.sun', 'below_horizon') %}1{% else %}0{% endif %}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
align_header: left | |
align_icon: left | |
entities: | |
- entity: sensor.ikea_vindriktning_pm25 | |
- color: gray | |
entity: sensor.nightstate | |
name: Night | |
show_legend: false | |
show_line: false | |
show_points: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: vindriktning | |
platform: ESP8266 | |
board: d1_mini | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- if state_attr("sensor.nodered_rain_buienradar","data") %} | |
{%- set buienradarraw = state_attr("sensor.nodered_rain_buienradar","data").split('\r\n') %} | |
{%- set raindata = namespace(list=[]) -%} | |
{%- for n in buienradarraw -%} | |
{%- set raindata.list = raindata.list + [n[0:3]] %} | |
{%- endfor -%} | |
{%- for fifteenminutes in raindata.list|batch(3) %} | |
{%- if loop.index > 8 %}{{""}} | |
{%- else %} | |
{%- set rainvalue = fifteenminutes|max|int %} |
NewerOlder