Skip to content

Commit

Permalink
Disabled sensor validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gurbyz committed Jul 10, 2020
1 parent 347d946 commit cbeb346
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Changelog
====
## 0.1.2-dev
## 0.1.2
### New features
* Allowing to hide the title. Default value for `title` is empty now. If you want the previous behavior you could add `title: 'Power wheel'` to your config. Issue #51.
* ** BETA.** You can switch the polarity of `battery_power_entity` with the new card parameter `charging_is_positive`. No need to make an extra template sensor for this anymore. Issue #46.
### Improvements
* Removed deprecated input parameter `energy_price`. This parameter was deprecated since version 0.1.0.
* Removed deprecated input parameter `energy_price`. This parameter was deprecated since version 0.1.0.
### Fixes
* After a startup of HA sensor validation errors stayed visible since the new startup order of HA 0.111.0. Sensor validation is disabled temporarily.

## 0.1.1
### New features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "power-wheel-card",
"version": "0.1.2-dev",
"version": "0.1.2",
"description": "An intuitive way to represent the power and energy that your home is consuming or producing.",
"directories": {
"test": "test"
Expand Down
4 changes: 2 additions & 2 deletions power-wheel-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*/

const __VERSION = "0.1.2-dev";
const __VERSION = "0.1.2";

const LitElement = Object.getPrototypeOf(customElements.get("hui-view"));
const html = LitElement.prototype.html;
Expand Down Expand Up @@ -390,7 +390,7 @@ class PowerWheelCard extends LitElement {
} else {
PowerWheelCard._logConsole(`Version: ${__VERSION}`);
}
this._validateSensors();
// this._validateSensors(); // todo: Have to find a better trigger than firstUpdated. Disabled in version 0.1.2 because new startup order in HA 0.111.0.
}

_sensorChangeDetected(oldValue) {
Expand Down

0 comments on commit cbeb346

Please sign in to comment.