mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 15:26:29 +00:00
Add mA to SensorDeviceClass.CURRENT (#1593)
This commit is contained in:
parent
7c5ede6fba
commit
b28c57600c
@ -37,7 +37,7 @@ If specifying a device class, your number entity will need to also return the co
|
|||||||
| battery | % | Percentage of battery that is left
|
| battery | % | Percentage of battery that is left
|
||||||
| carbon_dioxide | ppm | Concentration of carbon dioxide.
|
| carbon_dioxide | ppm | Concentration of carbon dioxide.
|
||||||
| carbon_monoxide | ppm | Concentration of carbon monoxide.
|
| carbon_monoxide | ppm | Concentration of carbon monoxide.
|
||||||
| current | A | Current
|
| current | A, mA | Current
|
||||||
| data_rate | bit/s, kbit/s, Mbit/s, Gbit/s, B/s, kB/s, MB/s, GB/s, KiB/s, MiB/s, GiB/s | Data rate
|
| data_rate | bit/s, kbit/s, Mbit/s, Gbit/s, B/s, kB/s, MB/s, GB/s, KiB/s, MiB/s, GiB/s | Data rate
|
||||||
| data_size | bit, kbit, Mbit, Gbit, B, kB, MB, GB, TB, PB, EB, ZB, YB, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB | Data size
|
| data_size | bit, kbit, Mbit, Gbit, B, kB, MB, GB, TB, PB, EB, ZB, YB, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB | Data size
|
||||||
| distance | km, m, cm, mm, mi, yd, in | Generic distance
|
| distance | km, m, cm, mm, mi, yd, in | Generic distance
|
||||||
|
@ -37,7 +37,7 @@ If specifying a device class, your sensor entity will need to also return the co
|
|||||||
| battery | % | Percentage of battery that is left
|
| battery | % | Percentage of battery that is left
|
||||||
| carbon_dioxide | ppm | Concentration of carbon dioxide.
|
| carbon_dioxide | ppm | Concentration of carbon dioxide.
|
||||||
| carbon_monoxide | ppm | Concentration of carbon monoxide.
|
| carbon_monoxide | ppm | Concentration of carbon monoxide.
|
||||||
| current | A | Current
|
| current | A, mA | Current
|
||||||
| data_rate | bit/s, kbit/s, Mbit/s, Gbit/s, B/s, kB/s, MB/s, GB/s, KiB/s, MiB/s, GiB/s | Data rate
|
| data_rate | bit/s, kbit/s, Mbit/s, Gbit/s, B/s, kB/s, MB/s, GB/s, KiB/s, MiB/s, GiB/s | Data rate
|
||||||
| data_size | bit, kbit, Mbit, Gbit, B, kB, MB, GB, TB, PB, EB, ZB, YB, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB | Data size
|
| data_size | bit, kbit, Mbit, Gbit, B, kB, MB, GB, TB, PB, EB, ZB, YB, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB | Data size
|
||||||
| date | | Date. Requires `native_value` to be a Python `datetime.date` object, or `None`.
|
| date | | Date. Requires `native_value` to be a Python `datetime.date` object, or `None`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user