1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-15 17:52:19 +01:00

Implement unit_of_measurement for number component (#2804)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
puuu
2021-12-01 00:20:59 +09:00
committed by GitHub
parent b32b918936
commit b5a0e8b2c0
9 changed files with 37 additions and 0 deletions

View File

@@ -885,6 +885,7 @@ message ListEntitiesNumberResponse {
float step = 8;
bool disabled_by_default = 9;
EntityCategory entity_category = 10;
string unit_of_measurement = 11;
}
message NumberStateResponse {
option (id) = 50;