Breaking changes
- "_attr" removed from all sensors entity_id, if you have automation, lovelace ref please update them
- Default unit for total_consumtion changed to kWh and uptime to h (hours)
- POWER_DECIMALS setting have been removed, use settings instead for same result:
shelly:
settings:
current_consumption: { decimals:2 }
Added devices
Changes
- Full support for HA integration
- Support convert config.yaml to GUI integration (from integration settings)
- Support multiple instances
- Add sensors and attributes for voltage, total_returned, phase_factor etc
- Add protocols attribute that shows all working protocols (CoAP-discovery, CoAP-msg, poll, mDns)
- Remove discovery src (replaced by protocols) for better overview and trouble shoting
- Format firmware version nicer - v0.0.1 (200313)
- Set host_ip to ha to get the same address that Home Assistant use (get_local_ip)
- Add consumption for lights
- Show fewer attributes on sub sensors (consumption, RSSI, Uptime, etc)
- Decimals on global and/or device level
- Increase timeout for Shelly cloud
- Split sensor settings into two dialog/steps
- Remove _attr from entry_id for sensors
- Add settings for decimals, division, and unit for all number sensors and attributes
- POWER_DECIMALS not working anymore, use settings instead
- Add unit to attributes (can be removed using settings)
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 |
|
Fixed bugs
- Consumption calculation fixed
- Fix a problem that causes devices not to be unavailable when removed
- Bug when using host_ip and igmp-fix
- Bug with total consumption and total returned fixed
- Fix problem with unavailable
- Fix color temp bug
- Fix bug #229, the behavior of host_ip changed. Now ShellyForHass binds to all network interfaces (CoAP and mDns) and host_ip is used for ADD_MEMBER IGMP messages. I think this will work for everyone, please let me know if b4 work but not b5.
- Fix a bug when converting from config.yaml to database settings and restart #226
- Fix rollers/cover problem when not position or calibrated
- Lot other small bug fixes