Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Erik Montnemery
23b562386f
Migrate integrations d-e to extend SensorEntity ( #48211 )
2021-03-22 12:52:29 +01:00
HomeAssistant Azure
d77a28b8a1
[ci skip] Translation update
2021-03-19 00:03:03 +00:00
Dan Klaffenbach
5174f63fd8
Add definitions for grouping media players ( #41193 )
...
* Add definitions for grouping media players
See https://github.com/home-assistant/architecture/issues/364
* Fix Google Assistant tests
* Define sync versions of async_join_players/async_unjoin
* Don't use async API in synchronous test methods
* Fix tests and make pylint happy
The method name `unjoin` is used by another component, so let's use
`unjoin_player` instead.
* Fix emulated_hue tests
The new media player entity in the `demo` component requires a tiny
adjustment in the emulated_hue tests.
* Use "target:" in service description
* Also use "name:" in service descriptions
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-03-18 18:19:28 +01:00
Marc Mueller
7c0734bdd5
Update typing 05 ( #48038 )
2021-03-17 23:43:55 +01:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Mick Vleeshouwer
9a98dcf432
Add HomeKit support for new CO / CO2 device class ( #47737 )
2021-03-12 09:03:47 -10:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
J. Nick Koston
38a2f196b8
Fix typing on fan percentage ( #47259 )
2021-03-02 08:32:24 +01:00
J. Nick Koston
3e334a4950
Fix typing of fan speed count and steps ( #46790 )
2021-02-19 19:57:21 -10:00
J. Nick Koston
f2b303d509
Implement percentage step sizes for fans ( #46512 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-18 21:05:09 -10:00
J. Nick Koston
a74ae3585a
Fix backwards compatiblity with fan update to new model ( #45951 )
...
* Fix backwards compatiblity with fans update to new model
There were some non-speeds and devices that report a none
speed. These problems were discovered when updating zha
tasmota and vesync to the new model in #45407
* Update coverage
* fix check
2021-02-06 12:48:18 +01:00
Jaroslav Hanslík
7144c5f316
Fix demo number entity ( #45991 )
2021-02-05 15:08:28 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
J. Nick Koston
068d1b5eb8
Separate fan speeds into percentages and presets modes ( #45407 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: John Carr <john.carr@unrouted.co.uk>
2021-01-27 17:44:36 -06:00
Mick Vleeshouwer
9b14586568
Add DemoCover with only tilt controls ( #45228 )
...
* Add DemoCover with only tilt controls
* Add default tilt position to Pergola Roof
* Apply githooks (isort)
* Add new demo device to Google Assistant fixtures
2021-01-20 19:11:55 -06:00
Martin Hjelmare
8d33c2092f
Add number entity value property ( #43902 )
2020-12-03 18:35:17 +01:00
Shulyaka
f744f7c34e
Add new number entity integration ( #42735 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-12-02 13:50:48 +01:00
HomeAssistant Azure
43955d3aa8
[ci skip] Translation update
2020-11-21 00:08:32 +00:00
springstan
dd4f41c1db
Use weather attribute conditions constants ( #39945 )
2020-11-20 21:04:03 +01:00
HomeAssistant Azure
8a0907acf9
[ci skip] Translation update
2020-11-12 00:10:58 +00:00
HomeAssistant Azure
6e53aa1155
[ci skip] Translation update
2020-10-23 00:03:04 +00:00
Bas Nijholt
2604bf59ad
Set keyword arguments in DemoLight ( #42040 )
...
I noticed that the signature was very hard to read when working on https://github.com/home-assistant/core/pull/40626 .
2020-10-18 13:57:35 -05:00
Jaroslav Hanslík
b7f818e431
Fix typo in comment in demo integration ( #41955 )
2020-10-16 22:53:16 +02:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
Anders Melchiorsen
d00655810f
Add media_player.repeat_set service ( #41435 )
2020-10-12 23:29:28 +02:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
springstan
f17089e46e
Remove unnecessary should poll from camera classes ( #41228 )
2020-10-04 21:26:59 +02:00
HomeAssistant Azure
c30982c981
[ci skip] Translation update
2020-09-25 00:04:29 +00:00
springstan
621526bbae
Use moisture and moving device class in various integrations ( #39963 )
2020-09-13 16:33:54 +02:00
springstan
e55035b2f9
Use DEVICE_CLASS_MOTION in various integrations ( #39962 )
2020-09-12 16:20:30 -05:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Keilin Bickar
05e15dc318
Add unique ID to demo fan ( #39658 )
2020-09-04 11:23:53 -05:00
HomeAssistant Azure
904f5c4346
[ci skip] Translation update
2020-08-30 00:03:17 +00:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Matthew Garrett
34e2a1825b
Add support for exposing light effects via Google Assistant ( #38575 )
...
* Don't set SUPPORT_EFFECT on DemoLight if there are no effects
This requires an update to the group test - previously the other lights
instantiated by the DemoLight component had nothing in ATTR_EFFECT_LIST, but
still had SUPPORT_EFFECT set. This appears to have resulted in the light
group test code setting an effect on the group and expecting it to apply to
all lights, but given that two of the bulbs didn't actually support any
effects (due to the empty ATTR_EFFECT_LIST) this seems like a broken
assumption and updating the test to verify only the bulb that supports
effects has had one applied seems reasonable.
* Add support for exposing light effects via Google Assistant
The LightEffects trait only supports a fixed (and small) list of lighting
effects, but we can expose them via the Modes trait - this requires saying
"Set (foo) effect to (bar)" which is a little clumsy, but at least makes it
possible.
2020-08-08 14:28:04 -07:00
HomeAssistant Azure
e6e3517a94
[ci skip] Translation update
2020-07-28 00:04:53 +00:00
HomeAssistant Azure
a1ebb52813
[ci skip] Translation update
2020-07-25 00:04:22 +00:00
HomeAssistant Azure
15fe727f2c
[ci skip] Translation update
2020-07-23 00:02:48 +00:00
HomeAssistant Azure
e766a119d2
[ci skip] Translation update
2020-07-22 00:02:30 +00:00
HomeAssistant Azure
9092b83869
[ci skip] Translation update
2020-07-20 00:03:01 +00:00
Joakim Plate
6fa04aa3e3
Add support for InputSelector trait ( #35753 )
2020-07-18 16:07:32 -07:00
HomeAssistant Azure
e852a2eb9b
[ci skip] Translation update
2020-07-15 00:02:40 +00:00
HomeAssistant Azure
d3b47b6d89
[ci skip] Translation update
2020-07-13 00:02:52 +00:00
HomeAssistant Azure
251a1d6619
[ci skip] Translation update
2020-07-09 00:05:04 +00:00
HomeAssistant Azure
6fd756299e
[ci skip] Translation update
2020-07-08 00:02:43 +00:00
Paulus Schoutsen
16ccf0affd
Bump voluptuous-serialize 2.4.0 ( #37241 )
...
* Bump voluptuous-serialize 2.4.0
* Add constant to demo
* gen reqs
2020-07-06 20:04:35 -07:00
Franck Nijhof
333dccc7af
Remove Hue configurator demo from demo integration ( #37250 )
2020-06-30 15:01:30 +02:00
Shulyaka
c28493098a
Add new humidifier entity integration ( #28693 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-22 17:59:16 -07:00
marawan31
dba326f16b
Add precipitation probability to weather forcast ( #36019 )
...
* Add precipitation probability attribute
* bump env_canada version to 0.0.38 in manifest
* bump env_canada version to 0.0.38 in requirements
* Add support for percipiation probability
* formated project with black
* make sure prob is an int
* fix build break
* update usage to correct naming
* revert bad change and apply fix build break
* add tests
2020-06-17 07:39:33 +02:00
HomeAssistant Azure
dd239661e7
[ci skip] Translation update
2020-06-14 00:03:01 +00:00
HomeAssistant Azure
140fd5adaf
[ci skip] Translation update
2020-06-09 00:05:22 +00:00
HomeAssistant Azure
492874c4a0
[ci skip] Translation update
2020-06-06 00:03:33 +00:00
Xiaonan Shen
7e67b6b568
Improve Vacuum Entity ( #35554 )
2020-05-25 17:56:12 -07:00
Martin Hjelmare
1593bdf2e9
Add climate services required features ( #35804 )
2020-05-20 23:47:30 +02:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Franck Nijhof
4cf186a47e
Small collection of random styling tweaks, fixes and Pythonism ( #35390 )
2020-05-09 00:10:17 +02:00
Xiaonan Shen
2581b031d9
Fix fan not checking supported_features ( #35248 )
...
* Fix fan not checking supported_features
* Fix pylint
* Fix test
* Code cleanup
* Fix fan demo
* Code style improvement
2020-05-06 09:58:07 +02:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
Erik Montnemery
f3d79104a7
Rename WaterHeaterDevice to WaterHeaterEntity ( #34675 )
...
* Rename WaterHeaterDevice to WaterHeaterEntity
* Fix stale name
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-01 16:29:14 +02:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +00:00
HomeAssistant Azure
e13f78dfc5
[ci skip] Translation update
2020-04-28 00:04:52 +00:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
Erik Montnemery
aa60d362fd
Rename RemoteDevice to RemoteEntity ( #34676 )
2020-04-26 02:12:36 +02:00
Erik Montnemery
d3ed80cf53
Rename VacuumDevice to VacuumEntity ( #34674 )
2020-04-26 02:11:08 +02:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
Erik Montnemery
b30d117e7d
Rename LockDevice to LockEntity ( #34594 )
2020-04-25 18:02:41 +02:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
starkillerOG
7bfc1d2840
Use "arming" state during transition in manual alarm panel ( #32950 )
...
* Manual Alarm Control Panel: use proper "Arming" state
* Update previous and next attributes
* add CONF_ARMING_TIME
* Split up arming and pending time, pending_time --> arming_time
* update tests
* fix issort
* fix issort
* fix demo platform
* fix alarm test
* remove arming_time from the triggered state
* Match previous default "delay_time"
* fix tests
* fix arming state when triggering
* fix arming _arming_time_by_state for Triggering state
* change to not in list
* Update homeassistant/components/manual/alarm_control_panel.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* async_update_ha_state -> async_write_ha_state
* black formatting
* add Callback
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* import callback
* update device triggers alarm_control_panel
* Update test_device_trigger.py
* Update device_trigger.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-24 00:07:07 +02:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root ( #33850 )
2020-04-15 09:41:18 -07:00
Franck Nijhof
6d24a65313
Various light test improvements ( #34131 )
2020-04-13 15:33:04 +02:00
Martin Hjelmare
20aa089243
Clean up camera and demo camera ( #34058 )
...
* Clean up demo camera
* Complete test_motion_detection
* Clean up image reading
* Clean up camera integration async methods
* Fix and clean camera integration tests
* Fix image processing patch
2020-04-12 14:56:19 +02:00
springstan
328cadbaa2
Use LENGTH_KILOMETERS constant ( #33976 )
...
* Use LENGTH_KILOMETERS constant
* Fix tests by importing the constant directly
2020-04-11 02:12:39 +02:00
Franck Nijhof
24840b54ac
Add yamllint (in pre-commit and CI) ( #33676 )
...
* Add yamllint (in pre-commit and CI)
* Fix linting for all YAML files
* Bump and add it to requirements
* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
HomeAssistant Azure
8a8ee95336
[ci skip] Translation update
2020-04-04 00:07:23 +00:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
HomeAssistant Azure
5f72ad8da6
[ci skip] Translation update
2020-03-28 00:08:09 +00:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
Bram Kragten
4c4e5f3fa9
Fix demos ( #32086 )
...
* Fixes for demos
* Update vacuum.py
* Comment
* Fix tests
2020-03-11 08:16:22 -07:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
HomeAssistant Azure
fefbe02d44
[ci skip] Translation update
2020-02-28 00:31:47 +00:00
HomeAssistant Azure
ed461a0ad8
[ci skip] Translation update
2020-02-26 00:31:47 +00:00
HomeAssistant Azure
a9e061270b
[ci skip] Translation update
2020-02-25 00:32:13 +00:00
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
HomeAssistant Azure
8257165562
[ci skip] Translation update
2020-02-23 00:31:50 +00:00
HomeAssistant Azure
dc15b9c28e
[ci skip] Translation update
2020-02-22 00:31:49 +00:00
HomeAssistant Azure
a12c4da0ca
[ci skip] Translation update
2020-02-21 00:33:51 +00:00
Franck Nijhof
1c81e8ad68
Remove history_graph integration ( #32028 )
...
* Remove history_graph integration
* Update codeowners file
2020-02-20 09:01:29 -08:00
Franck Nijhof
5c5f839119
Remove weblink integration ( #32024 )
2020-02-20 08:50:40 -08:00
HomeAssistant Azure
5839df39b5
[ci skip] Translation update
2020-02-20 00:31:46 +00:00
HomeAssistant Azure
4b3f9ecc2d
[ci skip] Translation update
2020-02-19 00:31:49 +00:00
HomeAssistant Azure
2e5161997f
[ci skip] Translation update
2020-02-18 00:31:41 +00:00
Bram Kragten
95bcceddf7
Add an options flow to demo ( #31920 )
...
To help test the frontend
2020-02-17 14:10:44 -08:00
HomeAssistant Azure
40e866a5bb
[ci skip] Translation update
2020-02-13 00:31:46 +00:00
HomeAssistant Azure
274cf23269
[ci skip] Translation update
2020-02-07 00:31:50 +00:00
Paulus Schoutsen
01dad31adc
Fix service helper not handling sync methods ( #31254 )
...
* Fix service helper not handling sync methods
* Add legacy support for returning coroutine objects
* Fix tests
* Fix tests
* Convert demo cover to async
2020-01-29 16:27:25 -08:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Franck Nijhof
bfa0edaf92
Migrate Integration Quality Scale from docs to manifest: internal ( #30551 )
2020-01-07 20:58:49 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
HomeAssistant Azure
5d8dda4f68
[ci skip] Translation update
2019-12-29 00:32:14 +00:00
HomeAssistant Azure
bb35d93fde
[ci skip] Translation update
2019-12-25 00:32:06 +00:00
HomeAssistant Azure
ad8278c078
[ci skip] Translation update
2019-12-17 00:32:23 +00:00
HomeAssistant Azure
95a6a7502a
[ci skip] Translation update
2019-12-16 00:32:25 +00:00
HomeAssistant Azure
12f273eb11
[ci skip] Translation update
2019-12-10 00:32:16 +00:00
Bas Nijholt
e4e9cdce73
use isort to sort imports according to PEP8 for demo ( #29630 )
2019-12-08 22:29:27 +05:30
HomeAssistant Azure
a1a131334a
[ci skip] Translation update
2019-12-04 00:32:11 +00:00
Raman Gupta
3ecf5596ff
update demo service domain and service description ( #29164 )
...
* update demo service domain and service description
* move DOMAIN and service name to const.py
* update per balloob's service name suggestion
* update service name in services.yaml
* update service name constant's name
2019-11-27 20:36:40 -08:00
HomeAssistant Azure
2a7aac6afc
[ci skip] Translation update
2019-11-27 00:32:16 +00:00
SukramJ
1fde0d18ed
Add supported_features to Alarm Control Panel to limit device_actions ( #29065 )
...
* Add supported_features to Alarm Control Panel
* mark supported_features abstract
* Add SF to async_register_entity_service
* fix test
* Add missing SF SUPPORT_ALARM_ARM_CUSTOM_BYPASS
* isort
* fix async_register_entity_service
* Update alarm_control_panel.py
2019-11-25 15:42:53 -08:00
HomeAssistant Azure
7c6b38d308
[ci skip] Translation update
2019-11-24 00:32:21 +00:00
HomeAssistant Azure
0e14c3f92a
[ci skip] Translation update
2019-11-21 00:32:11 +00:00
HomeAssistant Azure
aef808d2bf
[ci skip] Translation update
2019-11-18 00:32:22 +00:00
HomeAssistant Azure
adb3997547
[ci skip] Translation update
2019-11-16 00:32:13 +00:00
HomeAssistant Azure
f170ac48d2
[ci skip] Translation update
2019-11-15 00:32:15 +00:00
HomeAssistant Azure
08d662c0a5
[ci skip] Translation update
2019-11-14 00:32:16 +00:00
Bram Kragten
15e6278a2e
Add config entry and device support to Demo ( #28702 )
...
* Add config entry and device support to Demo
* Some more devices
* Fix tests using demo
* Review comments
* Update config_flow.py
* Revert
* Disable pylint
2019-11-13 16:37:31 +01:00
Bram Kragten
76aae0c23e
Fix demo TTS ( #28608 )
2019-11-07 13:43:43 +01:00
Pascal Vizeli
005a1b2713
Add additional support over NC ( #28527 )
...
* Add voice support over NC
* Add disocery support for TTS / STT
* fix cloud TTS discovery
* Fix dev config
* Fix discovery
* Bump hass-nabucasa 0.25
* Add channel support
* Fix lint
* Update homeassistant/components/cloud/__init__.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* bump hass-nabucasa
* Update tts.py
* fix lint
2019-11-05 22:39:15 +01:00
Paulus Schoutsen
83a9f4ddb8
rate is a separate word ( #28535 )
2019-11-04 14:01:10 -08:00
Pascal Vizeli
99c0559a0c
Speech to Text component ( #28434 )
...
* Initial commit for STT
* Fix code review
2019-11-04 13:10:42 +01:00
Santobert
07b7d514ac
Add improved scene support to the water_heater integration ( #28277 )
2019-11-01 13:37:34 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Tsvi Mostovicz
80136f3591
Change datetime.now() to dt_util.now() ( #26582 )
...
* Change datetime.now() to dt_util.now() in cases where the functionality should stay the same
These changes should not affect the functionality, rather cleanup our codebase.
In general we would like integrations to not to use datetime.now() unless there's a very good
reason for it, rather use our own dt_util.now() which makes the code aware of our current time
zone.
* Use datetime.utcnow() for season sensor to get offset-naive utc time
* Revert "Use datetime.utcnow() for season sensor to get offset-naive utc time"
This reverts commit 5f36463d9c7d52f8e11ffcec7e57dfbc7b21bdd1.
* BOM sensor last_updated should be UTC as well
* Run black
* Remove unused last_partition_update variable
2019-09-19 08:39:09 +02:00
Paulus Schoutsen
aa7513bc5c
Expose current direction properly on state machine ( #26298 )
...
* Expose current direction properly on state machine
* Fix template fan
2019-09-01 21:42:57 -07:00
Franck Nijhof
decf13b948
Use literal string interpolation in core (f-strings) ( #26166 )
2019-08-23 09:53:33 -07:00
Paulus Schoutsen
6f357cb23e
First pass fixing tests that raise exceptions caught by asyncio.gather ( #25860 )
...
* First pass fixing tests that raise exceptions caught by asyncio.gather
* Fix demo test
* lint
2019-08-12 16:42:12 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Martin Hjelmare
177f5a35ae
Rewrite calendar component ( #24950 )
...
* Correct google calendar test name
* Rewrite calendar component
* Save component in hass.data.
* Rename device_state_attributes to state_attributes.
* Remove offset attribute from base state_attributes.
* Extract offset helpers to calendar component.
* Clean imports.
* Remove stale constants.
* Remove name and add async_get_events.
* Add normalize_event helper function. Copied from #21495 .
* Add event property to base entity.
* Use event property for calendar state.
* Ensure event start and end.
* Remove entity init.
* Add comment about event data class.
* Temporary keep old start and end datetime format.
* Convert demo calendar
* Convert google calendar
* Convert google calendar.
* Clean up google component.
* Keep offset feature by using offset helpers.
* Convert caldav calendar
* Clean up caldav calendar.
* Update caldav cal on addition.
* Bring back offset to caldav calendar.
* Copy caldav event on update.
* Convert todoist calendar
2019-07-10 20:59:37 -07:00
Pascal Vizeli
84cf76ba36
Climate 1.0 ( #23899 )
...
* Climate 1.0 / part 1/2/3
* fix flake
* Lint
* Update Google Assistant
* ambiclimate to climate 1.0 (#24911 )
* Fix Alexa
* Lint
* Migrate zhong_hong
* Migrate tuya
* Migrate honeywell to new climate schema (#24257 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* Fix PRESET can be None
* apply PR#23913 from dev
* remove EU component, etc.
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* apply PR#23913 from dev
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* delint, move debug code
* away preset now working
* code tidy-up
* code tidy-up 2
* code tidy-up 3
* address issues #18932 , #15063
* address issues #18932 , #15063 - 2/2
* refactor MODE_AUTO to MODE_HEAT_COOL and use F not C
* add low/high to set_temp
* add low/high to set_temp 2
* add low/high to set_temp - delint
* run HA scripts
* port changes from PR #24402
* manual rebase
* manual rebase 2
* delint
* minor change
* remove SUPPORT_HVAC_ACTION
* Migrate radiotherm
* Convert touchline
* Migrate flexit
* Migrate nuheat
* Migrate maxcube
* Fix names maxcube const
* Migrate proliphix
* Migrate heatmiser
* Migrate fritzbox
* Migrate opentherm_gw
* Migrate venstar
* Migrate daikin
* Migrate modbus
* Fix elif
* Migrate Homematic IP Cloud to climate-1.0 (#24913 )
* hmip climate fix
* Update hvac_mode and preset_mode
* fix lint
* Fix lint
* Migrate generic_thermostat
* Migrate incomfort to new climate schema (#24915 )
* initial commit
* Update climate.py
* Migrate eq3btsmart
* Lint
* cleanup PRESET_MANUAL
* Migrate ecobee
* No conditional features
* KNX: Migrate climate component to new climate platform (#24931 )
* Migrate climate component
* Remove unused code
* Corrected line length
* Lint
* Lint
* fix tests
* Fix value
* Migrate geniushub to new climate schema (#24191 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* delinted
* delinted
* use latest client
* clean up mappings
* clean up mappings
* add duration to set_temperature
* add duration to set_temperature
* manual rebase
* tweak
* fix regression
* small fix
* fix rebase mixup
* address comments
* finish refactor
* fix regression
* tweak type hints
* delint
* manual rebase
* WIP: Fixes for honeywell migration to climate-1.0 (#24938 )
* add type hints
* code tidy-up
* Fixes for incomfort migration to climate-1.0 (#24936 )
* delint type hints
* no async unless await
* revert: no async unless await
* revert: no async unless await 2
* delint
* fix typo
* Fix homekit_controller on climate-1.0 (#24948 )
* Fix tests on climate-1.0 branch
* As part of climate-1.0, make state return the heating-cooling.current characteristic
* Fixes from review
* lint
* Fix imports
* Migrate stibel_eltron
* Fix lint
* Migrate coolmaster to climate 1.0 (#24967 )
* Migrate coolmaster to climate 1.0
* fix lint errors
* More lint fixes
* Fix demo to work with UI
* Migrate spider
* Demo update
* Updated frontend to 20190705.0
* Fix boost mode (#24980 )
* Prepare Netatmo for climate 1.0 (#24973 )
* Migration Netatmo
* Address comments
* Update climate.py
* Migrate ephember
* Migrate Sensibo
* Implemented review comments (#24942 )
* Migrate ESPHome
* Migrate MQTT
* Migrate Nest
* Migrate melissa
* Initial/partial migration of ST
* Migrate ST
* Remove Away mode (#24995 )
* Migrate evohome, cache access tokens (#24491 )
* add water_heater, add storage - initial commit
* add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
* Add Broker, Water Heater & Refactor
add missing code
desiderata
* update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
* bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
* support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
* store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
* update CODEOWNERS
* fix regression
* fix requirements
* migrate to climate-1.0
* tweaking
* de-lint
* TCS working? & delint
* tweaking
* TCS code finalised
* remove available() logic
* refactor _switchpoints()
* tidy up switchpoint code
* tweak
* teaking device_state_attributes
* some refactoring
* move PRESET_CUSTOM back to evohome
* move CONF_ACCESS_TOKEN_EXPIRES CONF_REFRESH_TOKEN back to evohome
* refactor SP code and dt conversion
* delinted
* delinted
* remove water_heater
* fix regression
* Migrate homekit
* Cleanup away mode
* Fix tests
* add helpers
* fix tests melissa
* Fix nehueat
* fix zwave
* add more tests
* fix deconz
* Fix climate test emulate_hue
* fix tests
* fix dyson tests
* fix demo with new layout
* fix honeywell
* Switch homekit_controller to use HVAC_MODE_HEAT_COOL instead of HVAC_MODE_AUTO (#25009 )
* Lint
* PyLint
* Pylint
* fix fritzbox tests
* Fix google
* Fix all tests
* Fix lint
* Fix auto for homekit like controler
* Fix lint
* fix lint
2019-07-08 14:00:24 +02:00
Kevin Cooper
1460f7bd80
Add code_arm_required to manual alarm ( #22618 )
...
* Add code_arm_required to manual alarm
* Add fix for alarm front end more-info-alarm_control_panel
2019-06-17 14:59:20 -07:00
Joakim Plate
c7a78ed522
Add stepped volume to demo ( #23759 )
...
* Add stepped volume to demo
* Simplify somewhat to avoid extra check
2019-05-09 10:18:22 -07:00
Joakim Plate
39932d132d
Add device classes for media player and map to google types ( #23236 )
...
* Add device classes for media player and map to google types
* Switch default class for media_player to media
2019-04-25 13:12:11 -07:00
Paulus Schoutsen
a52f96b23a
Add stub services.yaml and make validation mandatory ( #23213 )
2019-04-18 15:13:35 -07:00
Joakim Plate
1bfccd803f
Allow switches to be represented as outlets on google assistant ( #23149 )
...
* Add device class support for switch to support outlet type
* Add a test for cover device class sync
* Drop remnant unused import
2019-04-16 17:07:14 -07:00
Paulus Schoutsen
6b0180f753
Fix demo ( #23087 )
...
* Fix demo
* Fix types
* Fix all the things
* Fix type
* Fix test
* Lint
2019-04-14 16:59:06 -07:00
Paulus Schoutsen
e8343452cd
Validate component usage ( #23037 )
...
* Update manifest validator
* Update circle
* Update text
* Typo
* fix link to codeowners
* Merge CODEOWNERS into hassfest
* Annotate errors with fixable
* Convert error to warning
* Lint
* Make abs path
* Python 3.5...
* Typo
* Fix tests
2019-04-13 13:17:01 -07:00