Skip to content

Commit

Permalink
Merge pull request #18 from zestysoft/update_readme_2
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
zestysoft authored Nov 27, 2024
2 parents 63f888e + 0629a9c commit 4e63e59
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,16 @@ A custom Home Assistant integration to monitor your water usage from Sensus Anal
- **Latest Read Usage**: Latest cumulative usage recorded by the meter.
- **Latest Read Time**: Timestamp of the latest reading.
- **Billing Usage**: Total usage amount that has been billed.
- **Billing Cost**: Total cost of the billed usage.
- **Daily Fee**: Daily fee based on usage.

## Sensor Entities

Below are the sensor entities created by this integration:

- `sensor.sensus_analytics_daily_usage`: Daily water usage in cubic feet (CF).
- `sensor.sensus_analytics_usage_unit`: Unit of measurement for water usage.
- `sensor.sensus_analytics_meter_address`: Address of the water meter.
- `sensor.sensus_analytics_usage_unit`: Native Unit of measurement that the source is using.
- `sensor.sensus_analytics_meter_address`: Street address of the water meter.
- `sensor.sensus_analytics_last_read`: Timestamp of the last meter reading.
- `sensor.sensus_analytics_billing_active`: Indicates if billing is active.
- `sensor.sensus_analytics_meter_longitude`: Longitude coordinate of the meter's location.
Expand All @@ -86,6 +88,8 @@ Below are the sensor entities created by this integration:
- `sensor.sensus_analytics_latest_read_usage`: Latest cumulative usage recorded by the meter.
- `sensor.sensus_analytics_latest_read_time`: Timestamp of the latest reading.
- `sensor.sensus_analytics_billing_usage`: Total usage amount that has been billed.
- `sensor.sensus_analytics_billing_cost`: Total cost of the billed usage.
- `sensor.sensus_analytics_daily_fee`: Daily fee based on usage.

## License

Expand Down
2 changes: 1 addition & 1 deletion custom_components/sensus_analytics/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "sensus_analytics",
"name": "Sensus Analytics Integration",
"version": "1.3.3",
"version": "1.3.4",
"documentation": "https://github.com/zestysoft/sensus_analytics_integration",
"dependencies": [],
"codeowners": ["@zestysoft"],
Expand Down
3 changes: 1 addition & 2 deletions custom_components/sensus_analytics/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def __init__(self, coordinator: SensusAnalyticsDataUpdateCoordinator, entry: Con
super().__init__(coordinator, entry)
self._attr_name = f"{DEFAULT_NAME} Native Usage Unit"
self._attr_unique_id = f"{self._unique_id}_usage_unit"
self._attr_icon = "mdi:format-float"

@property
def native_value(self):
Expand Down Expand Up @@ -265,7 +264,7 @@ def __init__(self, coordinator: SensusAnalyticsDataUpdateCoordinator, entry: Con
self._attr_name = f"{DEFAULT_NAME} Billing Usage"
self._attr_unique_id = f"{self._unique_id}_billing_usage"
self._attr_native_unit_of_measurement = "CF"
self._attr_icon = "mdi:currency-usd"
self._attr_icon = "mdi:water"

@property
def native_value(self):
Expand Down

0 comments on commit 4e63e59

Please sign in to comment.