Dark Thermostat by @ciotlosm
A simple thermostat implemented in CSS based on Nest Thermostat Control by Dal Hundal @dalhundal on CodePen
Hey dude! Help me out for a couple of π» or a β!
Name | Type | Default | Description |
---|---|---|---|
type | string | Required | custom:thermostat-dark-card |
entity | string | Required | The entity id of climate entity. Example: climate.hvac |
name | string | optional | Card title |
hvac | object | optional | Allows mapping of custom states or using a custom sensor/attribute for state |
step | number | 0.5 | The step to use when increasing or decreasing temperature |
highlight_tap | boolean | false | Show the tap area highlight when changing temperature settings |
chevron_size | number | 50 | Size of chevrons for temperature adjustment |
pending | number | 3 | Seconds to wait in control mode until state changes are sent back to the server |
idle_zone | number | 2 | Degrees of minimum difference between set points when thermostat supports both heating and cooling |
ambient_temperature | string | optional | An entity id of a sensor to use as ambient_temperature instead of the one provided by the thermostat |
range_min | number | optional | Override thermostat's minimum value |
range_max | number | optional | Override thermostat's maximum value |
away | object | optional | Allows usage of a custom sensor/attribute for the away detection. |
Name | Type | Default | Description |
---|---|---|---|
states | optional | optional | A list of states. See examples. |
attribute | string | hvac_action | An attribute of the entity to use as state. This cannot be used in conjunction with sensor. |
sensor | object | optional | The sensor object which monitors the hvac state. This cannot be used in conjunction with attribute. |
NOTE: If the climate entity already provides an attribute away_mode
, this configuration is wont apply.
Name | Type | Default | Description |
---|---|---|---|
sensor | object | optional | A sensor which provides the away state. |
attribute | string | preset_mode | An attribute of the entity to use as state. |
Name | Type | Default | Description |
---|---|---|---|
sensor | string | Required | A sensor which provides the hvac state. See examples. |
attribute | string | state | An attribute of the sensor to use as state. |
- type: custom:thermostat-dark-card
title: Bedroom
entity: climate.ecobee
- type: custom:thermostat-dark-card
title: Bedroom
entity: climate.hvac
chevron_size: 100
hvac:
states:
'Off': 'idle'
'Cooling': 'cooling'
'Heating': 'heating'
attribute: operation_mode
- type: custom:thermostat-dark-card
title: Bedroom
entity: climate.nest
chevron_size: 100
hvac:
states:
'idle': 'idle'
'cooling': 'cooling'
'heating': 'heating'
sensor:
sensor: sensor.nest_thermostat_hvac_state
- type: custom:thermostat-dark-card
title: Bedroom
entity: climate.ecobee
ambient_temperature: sensor.bedroom_temperature
- type: custom:thermostat-dark-card
title: Bedroom
entity: climate.bedroom
away:
attribute: custom_away_mode
- type: custom:thermostat-dark-card
title: Bedroom
entity: climate.bedroom
away:
sensor:
sensor: input_boolean.climate_bedroom_away
- type: custom:thermostat-dark-card
title: Bedroom
entity: climate.bedroom
away:
sensor:
sensor: climate.bedroom
attribute: away