move to packages
This commit is contained in:
parent
16beddf9ae
commit
36286dd42f
@ -16,26 +16,19 @@ google_assistant:
|
|||||||
report_state: true
|
report_state: true
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize: !include customize.yaml
|
|
||||||
customize_domain: !include customize_domain.yaml
|
|
||||||
customize_glob: !include customize_glob.yaml
|
|
||||||
packages: !include_dir_named packages
|
packages: !include_dir_named packages
|
||||||
|
|
||||||
group: !include groups.yaml
|
|
||||||
automation: !include automations.yaml
|
automation: !include automations.yaml
|
||||||
script: !include scripts.yaml
|
#template: !include template.yaml
|
||||||
scene: !include scenes.yaml
|
|
||||||
template: !include template.yaml
|
|
||||||
sensor: !include sensors.yaml
|
sensor: !include sensors.yaml
|
||||||
input_select: !include input_select.yaml
|
|
||||||
# input_boolean: !include GreeClimateComponent-input_boolean.yaml
|
|
||||||
# climate: !include GreeClimateComponent-climate.yaml
|
# climate: !include GreeClimateComponent-climate.yaml
|
||||||
# var: !include var.yaml
|
# var: !include var.yaml
|
||||||
|
|
||||||
http:
|
http:
|
||||||
use_x_forwarded_for: true
|
use_x_forwarded_for: true
|
||||||
trusted_proxies:
|
trusted_proxies:
|
||||||
- 192.168.88.110
|
- 192.168.88.102 # LXC
|
||||||
|
- 192.168.88.110 # Docker
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
default: info
|
default: info
|
||||||
@ -54,7 +47,7 @@ history:
|
|||||||
influxdb:
|
influxdb:
|
||||||
api_version: 2
|
api_version: 2
|
||||||
ssl: false
|
ssl: false
|
||||||
host: 192.168.88.102
|
host: 192.168.88.112
|
||||||
port: 8086
|
port: 8086
|
||||||
token: !secret influxdb_token
|
token: !secret influxdb_token
|
||||||
organization: habad
|
organization: habad
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
# Klimatizace
|
|
||||||
climate:
|
|
||||||
# hvac_modes: auto, cool, dry, fan_only, heat, off
|
|
||||||
hvac_modes:
|
|
||||||
- heat
|
|
||||||
- cool
|
|
||||||
- dry
|
|
||||||
- fan_only
|
|
||||||
- "off"
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
air_conditioner:
|
|
||||||
name: Klimatizace
|
|
||||||
options:
|
|
||||||
- livingroom
|
|
||||||
- bathroom
|
|
||||||
- bedroom
|
|
||||||
- childrensroom
|
|
||||||
- guestroom
|
|
||||||
initial: livingroom
|
|
||||||
icon: mdi:air-conditioner
|
|
||||||
168
template.yaml
168
template.yaml
@ -1,107 +1,65 @@
|
|||||||
- sensor:
|
# - sensor:
|
||||||
# # Shelly3EM
|
# # Klimatizace - aktuální teplota
|
||||||
# - unique_id: shelly3em_energy_total
|
# - unique_id: ac_livingroom_current_temperature
|
||||||
# name: "Shelly3EM Energy Total"
|
# name: "AC Livingroom Current temperature"
|
||||||
# icon: mdi:lightning-bolt
|
# unit_of_measurement: "°C"
|
||||||
# availability: >-
|
# icon: mdi:thermometer
|
||||||
# {{ states('sensor.shelly3em_phase_a_energy') not in ['0', 'unknown', 'unavailable', 'none'] and
|
# state: >
|
||||||
# states('sensor.shelly3em_phase_b_energy') not in ['0', 'unknown', 'unavailable', 'none'] and
|
# {{ state_attr('climate.ac_livingroom', 'current_temperature') }}
|
||||||
# states('sensor.shelly3em_phase_c_energy') not in ['0', 'unknown', 'unavailable', 'none'] }}
|
# - unique_id: ac_bathroom_current_temperature
|
||||||
# state: >-
|
# name: "AC Bathroom Current temperature"
|
||||||
# {{ (states('sensor.shelly3em_phase_a_energy')|float(1) +
|
# unit_of_measurement: "°C"
|
||||||
# states('sensor.shelly3em_phase_b_energy')|float(1) +
|
# icon: mdi:thermometer
|
||||||
# states('sensor.shelly3em_phase_c_energy')|float(1)) | round(2) }}
|
# state: >
|
||||||
# unit_of_measurement: kWh
|
# {{ state_attr('climate.ac_bathroom', 'current_temperature') }}
|
||||||
# device_class: energy
|
# - unique_id: ac_bedroom_current_temperature
|
||||||
# state_class: total_increasing
|
# name: "AC Bedroom Current temperature"
|
||||||
# - unique_id: shelly3em_power_total
|
# unit_of_measurement: "°C"
|
||||||
# name: "Shelly3EM Power Total"
|
# icon: mdi:thermometer
|
||||||
# icon: mdi:flash
|
# state: >
|
||||||
# state: >-
|
# {{ state_attr('climate.ac_bedroom', 'current_temperature') }}
|
||||||
# {{ (states('sensor.shelly3em_phase_a_power')|float(1) +
|
# - unique_id: ac_childrensroom_current_temperature
|
||||||
# states('sensor.shelly3em_phase_b_power')|float(1) +
|
# name: "AC Childrensroom Current temperature"
|
||||||
# states('sensor.shelly3em_phase_c_power')|float(1)) | round(2) }}
|
# unit_of_measurement: "°C"
|
||||||
# unit_of_measurement: W
|
# icon: mdi:thermometer
|
||||||
# device_class: power
|
# state: >
|
||||||
# state_class: measurement
|
# {{ state_attr('climate.ac_childrensroom', 'current_temperature') }}
|
||||||
|
# - unique_id: ac_guestroom_current_temperature
|
||||||
|
# name: "AC Guestroom Current temperature"
|
||||||
|
# unit_of_measurement: "°C"
|
||||||
|
# icon: mdi:thermometer
|
||||||
|
# state: >
|
||||||
|
# {{ state_attr('climate.ac_guestroom', 'current_temperature') }}
|
||||||
|
|
||||||
# Klimatizace - aktuální teplota
|
# # Korekce teploty: Teplota, kterou měří jednotka - skutečná v místnosti
|
||||||
- unique_id: ac_livingroom_current_temperature
|
# - unique_id: livingroom_temperature_correction
|
||||||
name: "AC Livingroom Current temperature"
|
# name: "Livingroom Temperateure Correction"
|
||||||
unit_of_measurement: "°C"
|
# unit_of_measurement: "°C"
|
||||||
icon: mdi:thermometer
|
# icon: mdi:thermometer-check
|
||||||
state: >
|
# state: >
|
||||||
{{ state_attr('climate.ac_livingroom', 'current_temperature') }}
|
# {{ (states('sensor.ac_livingroom_current_temperature')|float - states('sensor.livingroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
||||||
- unique_id: ac_bathroom_current_temperature
|
# - unique_id: bathroom_temperature_correction
|
||||||
name: "AC Bathroom Current temperature"
|
# name: "Bathroom Temperateure Correction"
|
||||||
unit_of_measurement: "°C"
|
# unit_of_measurement: "°C"
|
||||||
icon: mdi:thermometer
|
# icon: mdi:thermometer-check
|
||||||
state: >
|
# state: >
|
||||||
{{ state_attr('climate.ac_bathroom', 'current_temperature') }}
|
# {{ (states('sensor.ac_bathroom_current_temperature')|float - states('sensor.bathroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
||||||
- unique_id: ac_bedroom_current_temperature
|
# - unique_id: bedroom_temperature_correction
|
||||||
name: "AC Bedroom Current temperature"
|
# name: "Bedroom Temperateure Correction"
|
||||||
unit_of_measurement: "°C"
|
# unit_of_measurement: "°C"
|
||||||
icon: mdi:thermometer
|
# icon: mdi:thermometer-check
|
||||||
state: >
|
# state: >
|
||||||
{{ state_attr('climate.ac_bedroom', 'current_temperature') }}
|
# {{ (states('sensor.ac_bedroom_current_temperature')|float - states('sensor.bedroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
||||||
- unique_id: ac_childrensroom_current_temperature
|
# - unique_id: childrensroom_temperature_correction
|
||||||
name: "AC Childrensroom Current temperature"
|
# name: "Childrensroom Temperateure Correction"
|
||||||
unit_of_measurement: "°C"
|
# unit_of_measurement: "°C"
|
||||||
icon: mdi:thermometer
|
# icon: mdi:thermometer-check
|
||||||
state: >
|
# state: >
|
||||||
{{ state_attr('climate.ac_childrensroom', 'current_temperature') }}
|
# {{ (states('sensor.ac_childrensroom_current_temperature')|float - states('sensor.childrensroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
||||||
- unique_id: ac_guestroom_current_temperature
|
# - unique_id: guestroom_temperature_correction
|
||||||
name: "AC Guestroom Current temperature"
|
# name: "Guestroom Temperateure Correction"
|
||||||
unit_of_measurement: "°C"
|
# unit_of_measurement: "°C"
|
||||||
icon: mdi:thermometer
|
# icon: mdi:thermometer-check
|
||||||
state: >
|
# state: >
|
||||||
{{ state_attr('climate.ac_guestroom', 'current_temperature') }}
|
# {{ (states('sensor.ac_guestroom_current_temperature')|float - states('sensor.guestroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
||||||
|
|
||||||
# Korekce teploty: Teplota, kterou měří jednotka - skutečná v místnosti
|
|
||||||
- unique_id: livingroom_temperature_correction
|
|
||||||
name: "Livingroom Temperateure Correction"
|
|
||||||
unit_of_measurement: "°C"
|
|
||||||
icon: mdi:thermometer-check
|
|
||||||
state: >
|
|
||||||
{{ (states('sensor.ac_livingroom_current_temperature')|float - states('sensor.livingroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
|
||||||
- unique_id: bathroom_temperature_correction
|
|
||||||
name: "Bathroom Temperateure Correction"
|
|
||||||
unit_of_measurement: "°C"
|
|
||||||
icon: mdi:thermometer-check
|
|
||||||
state: >
|
|
||||||
{{ (states('sensor.ac_bathroom_current_temperature')|float - states('sensor.bathroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
|
||||||
- unique_id: bedroom_temperature_correction
|
|
||||||
name: "Bedroom Temperateure Correction"
|
|
||||||
unit_of_measurement: "°C"
|
|
||||||
icon: mdi:thermometer-check
|
|
||||||
state: >
|
|
||||||
{{ (states('sensor.ac_bedroom_current_temperature')|float - states('sensor.bedroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
|
||||||
- unique_id: childrensroom_temperature_correction
|
|
||||||
name: "Childrensroom Temperateure Correction"
|
|
||||||
unit_of_measurement: "°C"
|
|
||||||
icon: mdi:thermometer-check
|
|
||||||
state: >
|
|
||||||
{{ (states('sensor.ac_childrensroom_current_temperature')|float - states('sensor.childrensroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
|
||||||
- unique_id: guestroom_temperature_correction
|
|
||||||
name: "Guestroom Temperateure Correction"
|
|
||||||
unit_of_measurement: "°C"
|
|
||||||
icon: mdi:thermometer-check
|
|
||||||
state: >
|
|
||||||
{{ (states('sensor.ac_guestroom_current_temperature')|float - states('sensor.guestroom_thermometer_hygrometer_temperature')|float) | round(0) }}
|
|
||||||
|
|
||||||
# # Aktuální nákupní cena elektřiny - VT/NT
|
|
||||||
# - name: "Electricity Buy Price"
|
|
||||||
# unique_id: electricity_buy_price
|
|
||||||
# unit_of_measurement: "CZK/kWh"
|
|
||||||
# state_class: measurement
|
|
||||||
# icon: mdi:cash-minus
|
|
||||||
# state: >
|
|
||||||
# {% set price_vt = 3.37067 %}
|
|
||||||
# {% set price_nt = 2.85523 %}
|
|
||||||
# {% set vat = 21 %}
|
|
||||||
|
|
||||||
# {% if is_state("binary_sensor.electricity_hdo_nt", "on") %}
|
|
||||||
# {{ (price_nt|float * (1 + vat / 100)) | round(2) }} {# Nízký tarif #}
|
|
||||||
# {% else %}
|
|
||||||
# {{ (price_vt|float * (1 + vat / 100)) | round(2) }} {# Vysoký tarif #}
|
|
||||||
# {% endif %}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user