hswaw/sound: refactor home-assistant

Change-Id: I80442defc97fc7aaf4422f8e2fe6b956b1e130cf
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1444
Reviewed-by: informatic <informatic@hackerspace.pl>
This commit is contained in:
vuko 2022-12-19 23:55:31 +01:00
parent a2bcfeaf0b
commit 4fe6e02942
2 changed files with 17 additions and 6 deletions

View file

@ -99,6 +99,12 @@ in {
ps.hass-nabucasa
ps.pymetno
ps.radios
ps.pyipp
ps.brother
ps.wled
ps.securetar
ps.numpy
ps.pyatv
];
};

View file

@ -144,7 +144,9 @@
}
];
cast = {media_player = [{host = "10.8.1.44";}];};
# cast has been removed
# TODO check how this needs to be replaced
#cast = {media_player = [{host = "10.8.1.44";}];};
# TODO fix and enable
#frontend = {
@ -160,15 +162,15 @@
};
heater = {
control = "hidden";
entities = ["switch.space_heater" "input_number.heater_fan_speed"];
name = "Heater";
entities = ["switch.space_heater" "input_number.heater_fan_speed" "fan.exhaust"];
name = "HVAC";
};
};
input_number = {
heater_fan_speed = {
max = 100;
min = 0;
name = "Fan Speed";
name = "Heater airflow";
step = 1;
};
polycom_aux1_gain = {
@ -203,6 +205,7 @@
{
command_topic = "iot/077521/relay/on/set";
name = "Main room";
object_id = "main_room";
payload_off = "false";
payload_on = "true";
retain = true;
@ -212,7 +215,8 @@
fan = [
{
command_topic = "iot/c0dbe7/relay/on/set";
name = "Wyciąg";
name = "Exhaust";
object_id = "exhaust";
payload_off = "false";
payload_on = "true";
retain = true;
@ -259,7 +263,8 @@
}
{
command_topic = "iot/ab20d2/heater/on/set";
name = "Space Heater";
name = "Heater power";
object_id = "space_heater";
payload_off = "false";
payload_on = "true";
retain = true;