Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #33 from DCSBL/refactor/bumb-aiohwenergy
Browse files Browse the repository at this point in the history
Bumb aiohwenergy to 0.1.0
  • Loading branch information
DCSBL authored Aug 3, 2021
2 parents a586df7 + 39ba83d commit 7be7d5f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 13 additions & 5 deletions custom_components/homewizard_energy/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@
"version": "0.8.0",
"documentation": "https://github.com/DCSBL/ha-homewizard-energy",
"issue_tracker": "https://github.com/DCSBL/ha-homewizard-energy/issues",
"codeowners": ["@DCSBL"],
"dependencies": ["zeroconf"],
"requirements": ["aiohwenergy==0.0.5"],
"zeroconf": ["_hwenergy._tcp.local."],
"codeowners": [
"@DCSBL"
],
"dependencies": [
"zeroconf"
],
"requirements": [
"aiohwenergy==0.1.0"
],
"zeroconf": [
"_hwenergy._tcp.local."
],
"config_flow": true,
"iot_class": "local_polling"
}
}
2 changes: 2 additions & 0 deletions custom_components/homewizard_energy/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
PERCENTAGE,
POWER_WATT,
VOLUME_CUBIC_METERS,
DEVICE_CLASS_TIMESTAMP
)
from homeassistant.exceptions import ConfigEntryNotReady
from homeassistant.helpers.update_coordinator import (
Expand Down Expand Up @@ -157,6 +158,7 @@
key=ATTR_GAS_TIMESTAMP,
name="Gas timestamp",
icon="mdi:timeline-clock",
device_class=DEVICE_CLASS_TIMESTAMP
),
]

Expand Down

0 comments on commit 7be7d5f

Please sign in to comment.