0.1.0 • Published 1 year ago

nest-thermostat-lit v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Nest Thermostat

Npm package version Npm package yearly downloads GitHub release GitHub license

Nest thermostat like lit element

Based on the thermostat by Dal Hundal.

Source: Codepen.

Configuration

NameTypeDefaultDescription
target_temperaturedouble20.0Defines the target temperature on the thermostat
ambient_temperaturedouble18.0Defines the ambient temperature on the thermostat
current_temperaturedoubleOptionalDefines the current temperature on the thermostat
current_humiditydoubleOptionalDefines the current temperature on the thermostat
min_valueint10Sets the minimum value of the thermostat
max_valueint30Sets the maximum value of the thermostat
stepdouble0.5Sets the step between the temperature values
enable_ambient_temperatureboolfalseEnables the ambient temperature on the thermostat
enable_current_actionboolfalseEnables the current action on the thermostat
current_actionstringOptionalShows the corresponding action icon, choose between off, heat, cool, heat_cool, dry, fan, auto
action_activeboolOptionalEnables the action icon
enable_move_buttonsbooltrueEnables the move buttons on the thermostat
onSetTargetTemperaturefunctionOptionalEvent function called when target temperature changes, passes parameter target_temperature

License

This project is under the MIT license.