Docker chown -R 1000:1000 /path/to/esphome

This commit is contained in:
Victor Alexandrovich Tsyrenschikov
2025-12-13 23:31:39 +05:00
parent 5d47748ca6
commit 46a337c339
6 changed files with 50 additions and 39 deletions

View File

@@ -442,12 +442,19 @@ sensor:
name: "Temperature Sensor"
id: temperature_sensor
address: 0x0001
register_type: read
value_type: U_WORD
# register_type: read
# value_type: U_WORD
# unit_of_measurement: "°C"
# accuracy_decimals: 1
# filters:
# - lambda: if (x < 10000) return x * 0.1; else return -1 * x * 0.0001;
unit_of_measurement: "°C"
register_type: read
value_type: S_WORD
accuracy_decimals: 1
filters:
- lambda: if (x < 10000) return x * 0.1; else return -1 * (x - 10000) * 0.1;
- multiply: 0.1
- platform: modbus_controller