Breaking changes
- "_attr" removed from all sensors entity_id, if you have automation, lovelace ref please update them
- POWER_DECIMALS setting have been removed, use settings instead for same result:
shelly:
settings:
current_consumption: { decimals:2 }
Changes
- Fix rollers/cover problem when not position or calibrated
- Remove _attr from entry_id for sensors
- Add settings for decimals, division, and unit for all number sensors and attributes
Examples
shelly:
settings:
temperature: { decimals: 1 }
current: { decimals:0, div:1000, unit:'mA' } #Show current as mA
devices:
- id: 123456
settings:
total_consumption: { decimals: 3, div:1000000, unit:'MWh' } #Show MWh for a specific device
Types and default settings
value | unit | decimals | divider |
---|---|---|---|
temperature | °C | 0 | |
device_temp | °C | 0 | |
illuminance | lux | 0 | |
humidity | % | 0 | |
total_consumption | kWh | 2 | 1000 |
total_returned | kWh | 2 | 1000 |
current_consumption | W | 0 | |
current | A | 1 | |
humidity | % | 0 | |
voltage | V | 0 | |
power_factor | 1 | ||
uptime | h | 0 | 3600 |
rssi | dB | 0 |
- POWER_DECIMALS not working anymore, use settings instead
- Add unit to attributes (can be removed using settings)