Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/entity_climate.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Climate Entity
sidebar_label: Climate
---

A climate entity is a device that controls temperature, humidity, or fans, such as A/C systems and humidifiers. Derive entity platforms from [`homeassistant.components.climate.ClimateDevice`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/climate/__init__.py)
A climate entity controls temperature, humidity, or fans, such as A/C systems and humidifiers. Derive a platform entity from [`homeassistant.components.climate.ClimateEntity`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/climate/__init__.py)

## Properties

Expand Down Expand Up @@ -124,7 +124,7 @@ Supported features constants are combined using the bitwise or (`|`) operator.
### Set hvac mode

```python
class MyClimateDevice(ClimateDevice):
class MyClimateEntity(ClimateEntity):
# Implement one of these methods.

def set_hvac_mode(self, hvac_mode):
Expand All @@ -137,7 +137,7 @@ class MyClimateDevice(ClimateDevice):
### Set preset mode

```python
class MyClimateDevice(ClimateDevice):
class MyClimateEntity(ClimateEntity):
# Implement one of these methods.

def set_preset_mode(self, preset_mode):
Expand All @@ -150,7 +150,7 @@ class MyClimateDevice(ClimateDevice):
### Set fan mode

```python
class MyClimateDevice(ClimateDevice):
class MyClimateEntity(ClimateEntity):
# Implement one of these methods.

def set_fan_mode(self, fan_mode):
Expand All @@ -163,7 +163,7 @@ class MyClimateDevice(ClimateDevice):
### Set humidity

```python
class MyClimateDevice(ClimateDevice):
class MyClimateEntity(ClimateEntity):
# Implement one of these methods.

def set_humidity(self, humidity):
Expand All @@ -176,7 +176,7 @@ class MyClimateDevice(ClimateDevice):
### Set swing mode

```python
class MyClimateDevice(ClimateDevice):
class MyClimateEntity(ClimateEntity):
# Implement one of these methods.

def set_swing_mode(self, swing_mode):
Expand All @@ -189,7 +189,7 @@ class MyClimateDevice(ClimateDevice):
### Set temperature

```python
class MyClimateDevice(ClimateDevice):
class MyClimateEntity(ClimateEntity):
# Implement one of these methods.

def set_temperature(self, **kwargs):
Expand All @@ -202,7 +202,7 @@ class MyClimateDevice(ClimateDevice):
### Control auxiliary heater

```python
class MyClimateDevice(ClimateDevice):
class MyClimateEntity(ClimateEntity):
# Implement one of these methods.

def turn_aux_heat_on(self):
Expand Down