# Channel Types
Here is the latest, up to date Channel Types.
This file was autogenerated by running 'node scripts/getcommands.js' in the repository.
All descriptions were taken from code.
Do not add anything here, as it will overwritten with next rebuild.
| ChannelType     |  Description  |
|:------------- | -------:|
| Default |  Default channel type. This channel type is often used in simple devices and is suitable for relays. You don't need to use anything else for most of the non-TuyaMCU devices. |
| Error |  This is used to indicate an error. |
| Temperature |  This channel type represents a temperature in degrees. The temperature is shown as a read only, integer value on WWW panel. |
| Humidity |  This channel type represents a humidity in percent. The humidity is shown as a read only, integer value on WWW panel. |
| Humidity_div10 |  This is also humidity, but in TuyaMCU format, multiplied by 10, so 554 is 55.4%. Main WWW panel displays it correctly. If you want multiplied value to be published to MQTT, check flags. |
| Temperature_div10 |  Just like humidity_div10, but for temperature. |
| Toggle |  This channel will show ON/OFF toggle, so it is very much like default channel type, but the toggle will be always shown, even if channel is not used |
| Dimmer |  A custom dimmer channel. This will have a 0-100 range and will show a slider. The slider value will be saved to channel, but nothing else is done automatically. You can map it to TuyaMCU dpID to get dimming working or script it however you like. |
| LowMidHigh |  This channel has 3 values: 0, 1 and 2. This will show radio selection with those 3 options on the main WWW panel. |
| TextField |  This is a custom textfield channel, where you can type any value. Used for testing, can be also used for time countdown on TuyaMCU devices. Text field will be shown on main WWW panel |
| ReadOnly |  This channel is read only. It will just print its value on main WWW page. Of course, you can still write to it with console commands and scripts. |
| OffLowMidHigh |  Like LowMidHigh, but with 4 options. Some of TuyaMCU fans might require that. |
| OffLowestLowMidHighHighest |  Like LowMidHigh, but more options. Some of TuyaMCU fans might require that. |
| LowestLowMidHighHighest |  Like LowMidHigh, but more options. Some of TuyaMCU fans might require that. |
| Dimmer256 |  Just like dimmer, but it's using 0-255 range. Everything else is the same. |
| Dimmer1000 |  Just like dimmer, but it's using 0-1000 range. Everything else is the same. |
| Frequency_div100 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| Voltage_div10 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| Power |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| Current_div100 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| ActivePower |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| PowerFactor_div1000 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| ReactivePower |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| EnergyTotal_kWh_div1000 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| EnergyExport_kWh_div1000 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| EnergyToday_kWh_div1000 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| Current_div1000 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| EnergyTotal_kWh_div100 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| OpenClosed |  This will show an 'Open' or 'Closed' string on main WWW panel. Useful for door sensors, etc. |
| OpenClosed_Inv |  Like OpenClosed, but values are inversed. |
| BatteryLevelPercent |  This will show current value as a battery level percent on the main WWW panel. |
| OffDimBright |  A 3 options radio button for lighting control. |
| LowMidHighHighest |  Like LowMidHigh, but with 4 options. Some of TuyaMCU fans might require that. |
| OffLowMidHighHighest |  Like LowMidHigh, but with 5 options. Some of TuyaMCU fans might require that. |
| Custom |  A custom channel type that is still send to HA. |
| Power_div10 |  Just like power, but with one decimal place (but stored as integer, for TuyaMCU support) |
| ReadOnlyLowMidHigh |  Like LowMidHigh, but just read only |
| SmokePercent |  Smoke percentage |
| Illuminance |  Illuminance in Lux |
| Toggle_Inv |  Like a Toggle, but inverted states. |
| OffOnRemember |  Radio buttons with 3 options: off, on and 'remember'. This is used for TuyaMCU memory state |
| Voltage_div100 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| Temperature_div2 |  Just like ChType_Temperature_div10, but for multiplied by 0.5. |
| TimerSeconds |  This will display time formatted to minutes, hours, etc. |
| Frequency_div10 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| PowerFactor_div100 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| Pressure_div100 |  Pressure in hPa, but divided by 100 |
| Temperature_div100 |  Just like humidity_div100, but for temperature. |
| LeakageCurrent_div1000 |  Leakage current in mA |
| Power_div100 |  Just like power, but with one decimal place (but stored as integer, for TuyaMCU support) |
| Motion |  Motion |
| ReadOnly_div10 |  This channel is read only. |
| ReadOnly_div100 |  This channel is read only. |
| ReadOnly_div1000 |  This channel is read only. |
| Ph |  Ph Water Quality |
| Orp |  Orp Water Quality |
| Tds |  TDS Water Quality |
| Motion_n |  Motion_n |
| Frequency_div1000 |  For TuyaMCU power metering. Not used for BL09** and CSE** sensors. Divider is used by TuyaMCU, because TuyaMCU sends always values as integers so we have to divide them before displaying on UI |
| OpenStopClose |  TODO |
| Percent |  TODO |
| Max |  This is the current total number of available channel types. |
