Releases: maorcc/citymind_water_meter
Releases · maorcc/citymind_water_meter
Fix error when consumption value is empty
v2.0.4 Fix error when consumption value is empty
Fix multi-meter support and add debug API
- Fix multi-meter support #34
- Removed store debug data to files and its configuration
- Add endpoints to expose data from
Read Your Meter Pro
API
Endpoint Name | Method | Description |
---|---|---|
/api/citymind_water_meter/list | GET | List all the endpoints available (supporting multiple integrations), available once for integration |
/api/citymind_water_meter/{ENTRY_ID}/api | GET | JSON of all raw data from the Read Your Meter Pro API, per integration |
Authentication: Requires long-living token from HA
Updated documentation and better failed login error handling
- Add error handling for failed login
- Updated documentation
- Fixed login error message on installation / configuration UI
Fix data loading
Merge pull request #30 from maorcc/fix-data-loading Fix data loading
Support v2 of API - Read Your Meter Pro
Breaking Changes inside!
- Switched to new API of City Mind
- Add ability to change media for each alert
- Add switch to store debug data from API
- Visit URL redirects to the new portal
- During weekend the component will sample the API every 3 hours as opposed to default time when it updates data every 10 minutes
- All consumption sensors (including last read) support long-term statistics as total, reset date is according to the sensor
- Multi-meter is now supported
Entities
Account
Entity Name | Type | Description | Additional information |
---|---|---|---|
CityMind {Account ID} Account Store Debug Data | Select | Sets whether to store API latest data for debugging | |
CityMind {Account ID} Account Alert Exceeded threshold | Select | Allows to control which communication channel should receive an alert when daily consumption exceeded threshold | Available options are: None, Email, SMS, All |
CityMind {Account ID} Account Alert Leak | Select | Allows to control which communication channel should receive an alert when leak identified | Available options are: None, Email, SMS, All |
CityMind {Account ID} Account Alert Leak While Away | Select | Allows to control which communication channel should receive an alert when leak identified when vacation is defined | Available options are: None, Email, SMS, All |
CityMind {Account ID} Account Alerts | Sensor | Indicates number of alerts set in the portal | Attributes holds the alerts list |
CityMind {Account ID} Account Messages | Sensor | Indicates number of messages set in the portal | Attributes holds the messages list |
CityMind {Account ID} Account Vacations | Sensor | Indicates number of vacations set in the portal | Attributes holds the vacations list |
Per meter
Entity Name | Type | Description | Additional information |
---|---|---|---|
CityMind {Meter Count} Meter Last Read | Sensor | Represents the last read in m³ | Statistics: Total Increment |
CityMind {Meter Count} Meter Daily Consumption | Sensor | Represents the daily consumption in m³ | Statistics: Total, reset on daily basis |
CityMind {Meter Count} Meter Monthly Consumption | Sensor | Represents the monthly consumption in m³ | Statistics: Total, reset on monthly basis |
CityMind {Meter Count} Meter Yesterday's Consumption | Sensor | Represents the yesterday's consumption in m³ | Statistics: Total, reset on daily basis |
CityMind {Meter Count} Meter Consumption Forcast | Sensor | Represents the monthly consumption forcast in m³ | Statistics: Total, reset on monthly basis |
HA 2022.6.0 async_get_registry => async_get
- Device and Entity registry -
async_get_registry
is deprecated, change toasync_get
- Update pre-commit
Whitespace cleanup from consumer, provider and serial number
Merge pull request #24 from elad-bar/master Whitespace cleanup from consumer, provider and serial number
v1.0.3
Support HA 2021.6
- Fix #17 - @yuvalabou fixed the SensorEntity import which failed the component from getting loaded
- Fix lint errors from v1.0.1
Added version key to the manifest file
There is also another issue to fix for 2021.6