BE
berrywhite96/nest-thermostat
Nest thermostat like lit element
Nest Thermostat
Nest thermostat like lit element
Based on the thermostat by Dal Hundal.
Source: Codepen.
Configuration
| Name | Type | Default | Description |
|---|---|---|---|
target_temperature |
double |
20.0 |
Defines the target temperature on the thermostat |
ambient_temperature |
double |
18.0 |
Defines the ambient temperature on the thermostat |
current_temperature |
double |
Optional | Defines the current temperature on the thermostat |
current_humidity |
double |
Optional | Defines the current temperature on the thermostat |
min_value |
int |
10 |
Sets the minimum value of the thermostat |
max_value |
int |
30 |
Sets the maximum value of the thermostat |
step |
double |
0.5 |
Sets the step between the temperature values |
enable_ambient_temperature |
bool |
false |
Enables the ambient temperature on the thermostat |
enable_current_action |
bool |
false |
Enables the current action on the thermostat |
current_action |
string |
Optional | Shows the corresponding action icon, choose between off, heat, cool, heat_cool, dry, fan, auto |
action_active |
bool |
Optional | Enables the action icon |
enable_move_buttons |
bool |
true |
Enables the move buttons on the thermostat |
onSetTargetTemperature |
function |
Optional | Event function called when target temperature changes, passes parameter target_temperature |
License
This project is under the MIT license.
On this page
Languages
JavaScript91.7%Less4.4%CSS3.2%HTML0.7%
Contributors
Latest Release
v0.1.0February 19, 2023MIT License
Created February 19, 2023
Updated February 19, 2023
