Skip to content

Instantly share code, notes, and snippets.

@stas-dovgodko
Created January 9, 2022 16:30
Show Gist options
  • Save stas-dovgodko/8c200cf6cf9fe29dae080b82d1359a9c to your computer and use it in GitHub Desktop.
Save stas-dovgodko/8c200cf6cf9fe29dae080b82d1359a9c to your computer and use it in GitHub Desktop.
///////////////////////
// Кабінет
Group GF_Office "Кабінет" <office> (Home_GroundFloor) ["Office"]
Group GF_Office_HVAC "Клімат кабінету" <heating> (GF_Office, gHVAC) ["HVAC"] {ga="Thermostat" [ modes="heat,eco=ECO,auto" ]}
Number:Temperature GF_Office_Temperature "Температура у кабінеті [%.1f %unit%]" <hvac_temperature> (GF_Office_HVAC, gTemperature) ["Measurement", "Temperature"] {ga="thermostatTemperatureAmbient"}
Number:Temperature GF_Office_SetpointTemperature "Бажана температура у кабінеті [%.1f %unit%]" <hvac_setpoint> (GF_Office_HVAC, gSetpointTemperature) ["Setpoint", "Temperature"] {ga="thermostatTemperatureSetpoint"}
Number:Dimensionless GF_Office_Humidity "Вологість у кабінеті [%d %%]" <hvac_humidity> (GF_Office_HVAC) ["Measurement", "Humidity"] {ga="thermostatHumidityAmbient"}
Number:Dimensionless GF_Office_Co2 "Co2 у кабінеті [%d ppm]" <hvac_co2> (GF_Office_HVAC) ["Measurement", "CO2"] { ga="Sensor" [ sensorName="CarbonDioxideLevel", valueUnit="PARTS_PER_MILLION" ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment