Colin Robbins
39998f5387
Add kWh as cost option for gas ( #58426 )
...
* Add kWh as cost option for GAS
* Add kWh as cost option for GAS (pylint)
* Add kWh as cost option for GAS (make CONST)
* Change GAS_UNITS to VALID_ENERGY_UNITS
* Add test for Gas cost in kWh (2)
* Back off ENERGY_WATT_HOUR - unlikely for gas
* Add MEGA_WATT_HOUR support (2)
* Normalise pricing for MEGA_WATT_HOUR
* Normalise pricing for MEGA_WATT_HOUR
2021-10-27 18:06:32 +02:00
Colin Robbins and Martin Hjelmare
c43bdbf7c8
Add lightwave state_class and unique_id properties ( #51544 )
...
* Add state_class and unique_id properties
* Update homeassistant/components/lightwave/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* fix isort
* set class via attribute
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-06-06 20:10:16 +02:00
Colin Robbins
0ce3bf0859
Support multiple disks in systemmonitor ( #50362 )
...
* Fix #50158 - add support for multiple disks
* Rework as a tuple
2021-05-10 10:49:55 -07:00
Colin Robbins
a404c138fa
Support multiple disks in systemmonitor ( #50362 )
...
* Fix #50158 - add support for multiple disks
* Rework as a tuple
2021-05-10 10:48:00 -07:00
Colin Robbins
b3a97c7b42
Bump lightwave to 0.19 ( #42033 )
...
* Python 3.9 compatibilty
* Python 3.9 compatibility
2020-10-20 03:03:35 +02:00
Colin Robbins
6f8e3d2544
Update stream integration for Python 3.9 which removed isAlive from threading in favor of is_alive ( #42051 )
...
Python 3.9 compact
2020-10-18 23:42:50 -04:00
c5adcab195
Add Lightwave TRV ( #31665 )
...
* Add a shadow for covers that do not support postion
* Rename shadow as optimistic
* Add TRV support
* Revert "Rename shadow as optimistic"
This reverts commit e6e1db9cfba082c8e52d7fff57b4d79306f0de49.
* Revert "Add a shadow for covers that do not support postion"
This reverts commit 4f53e2c6c6ec955d673ab1f66b7107e1f4651374.
* fix logic error
* Modified configuration
* Modified configuration (2)
* ATTR_BATTERY_LEVEL
* move socket code to library 2
* requirements_all.txt
* Update homeassistant/components/lightwave/sensor.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Style changes requested by @sprintstan
* Update homeassistant/components/lightwave/__init__.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Update homeassistant/components/lightwave/__init__.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Update homeassistant/components/lightwave/__init__.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Black
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
* Remove device_attr
* remove redundant proxy parameters, left over from previous change
* remove device id - not used
* add comment on inhibit flag
* pylint
* fix config logic error
* revert suggested change: need different behaviour with None & 0
* touch
* backoff error in rebase change
* Requesed code changes from @springstan
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/climate.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/components/lightwave/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
* Changes requested by @MartinHjelmare
* Clean temp step constant
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com >
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-04-12 21:35:47 -05:00
Colin Robbins
0431b983d2
Add optimistic mode for somfy covers that do not support position ( #31407 )
...
* Add a shadow for covers that do not support postion
* Rename shadow as optimistic
* Set optimisic default mode
* fix black error
* Remove redundant check
* optimisitc variable name consistency with config
2020-03-01 16:42:26 +01:00