J. Nick Koston
c39d3b501e
Fix non-thread-safe operations in ihc ( #116513 )
2024-05-01 15:23:33 +02:00
Joost Lekkerkerker
95f269ef70
Add service icons to IHC ( #113311 )
2024-03-14 13:39:09 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] ( #112699 )
2024-03-08 08:52:48 -05:00
Marc Mueller
bf8bd5ff21
Use dict.get instead of inline if ( #109693 )
2024-02-05 13:56:10 +01:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script ( #96384 )
...
* Add deduplicate script
* Fix forecast_solar incorrect key with space
* Fix utf-8
* Do not create references to other arbitrary other integrations
* Add commented code to only allow applying to referencing integrations
* Tweak
* Bug fix
* Add command line arg for limit reference
* never suggest to update common keys
* Output of script
* Apply suggestions from code review
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Franck Nijhof
6c40004061
Migrate integration services (I-K) to support translations ( #96373 )
...
* Migrate integration services (I-K) to support translations
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/kodi/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-12 10:38:47 -04:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
Jens Østergaard Nielsen
01dc27e2a2
Remove default unit of measurement in IHC sensors ( #93054 )
...
Remove sensor default unit of measurement
2023-05-15 09:50:39 +02:00
Jens Østergaard Nielsen
e0424c8322
Use shorthand attributes in IHC ( #90350 )
...
* typings to make linter happy
* Moving device_class and native_value to init
* remove is_on and use attr_is_on
* Use try_parse_enum for sensor type
* Remove not needed sensor_type
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/ihc/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-28 10:23:00 +02:00
Jens Østergaard Nielsen
0393797ade
Bump ihcsdk to 2.8.5 ( #90266 )
2023-03-26 23:32:06 +02:00
Erik Montnemery
90d7fb8418
Sort manifests 5 ( #87026 )
2023-02-08 20:35:25 +01:00
epenet
22c295fbdc
Improve typing in ihc util ( #87069 )
2023-02-02 16:30:32 -05:00
epenet
a6ddac9004
Use UnitOfTemperature in integrations (i-m) ( #84307 )
2022-12-20 18:30:46 +01:00
epenet
23090cb8a2
Improve entity type hints [i] ( #77529 )
2022-08-30 19:21:08 +02:00
epenet
2a8109304f
Use _attr_should_poll in components [h-i] ( #77270 )
2022-08-26 10:20:38 +02:00
epenet
20fec104e2
Improve type hints in light [a-i] ( #75936 )
...
* Improve type hints in ads light
* Improve type hints in avea light
* Improve type hints in avion light
* Improve type hints in broadlink light
* More type hints
* One more
2022-07-31 20:46:13 +02:00
epenet
346a385f1a
Use ColorMode enum in ihc ( #70508 )
2022-04-23 09:16:07 -10:00
Erik Montnemery
cb79126cd9
Migrate ihc light to color_mode ( #69280 )
2022-04-04 09:28:30 -07:00
Jens Østergaard Nielsen
a644baf3cd
Prepare for Ihc config flow ( #64852 )
...
* Extracting group and extra info from ihc products
* Make suggested area not optional
* Revert back to assignment expression :=
* Make auto setup show device info for all platforms
* Change code comment to #
* Add return typing
* Remove device_info key without value
* get_manual_configuration typings for everything
* Adding IHCController typings
* Remove "ihc" from unique id
* Remove device_info
* Separator in unique id
* Return typing on ihc_setup
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/ihc/ihcdevice.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/ihc/ihcdevice.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Raise ValueError instead of logging an error
* Update homeassistant/components/ihc/service_functions.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Catch up with dev
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-11 10:24:31 +01:00
Jens Østergaard Nielsen
e7d725e810
Ihc integration, move manual setup out of init.py ( #65087 )
...
* Move manual setup out of init.py
* Type hints on additional parameters
* Complete missing typings
2022-02-06 13:42:15 -08:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
Jens Østergaard Nielsen
1ffc2a05db
Move autosetup out of init.py ( #64761 )
2022-01-24 12:07:54 +01:00
Jens Østergaard Nielsen
6de24baf95
Make service functions async ( #64705 )
2022-01-22 20:33:10 -08:00
Jens Østergaard Nielsen
59e8633e46
Update of the ihcsdk to 2.7.6 ( #64664 )
...
* Bump home-assistant/wheels from 2021.07.0 to 2022.01.0
Bumps [home-assistant/wheels](https://github.com/home-assistant/wheels ) from 2021.07.0 to 2022.01.0.
- [Release notes](https://github.com/home-assistant/wheels/releases )
- [Commits](https://github.com/home-assistant/wheels/compare/2021.07.0...2022.01.0 )
---
updated-dependencies:
- dependency-name: home-assistant/wheels
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update ihcsdk to 2.7.5
* Update to ihcsdk 2.7.5
* Update ihcsdk to 2.7.5
* Go back to ihcsdk 2.7.4
* Update ihcsdk to 2.7.6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-22 11:57:55 +02:00
Jens Østergaard Nielsen
526db1bcd8
Update of the ihcsdk to 2.7.5 ( #64631 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 20:09:05 +01:00
tausen
95f8c26e23
Auto-setup a few more IHC devices ( #58806 )
2022-01-07 14:47:12 +01:00
epenet
178d2848f3
Add setup type hints [i-k] ( #63444 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 12:14:13 +01:00
epenet
f39531dcfc
Add switch setup type hints [g-m] ( #63303 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:23:11 +01:00
epenet
a9901356c3
Add sensor setup type hints [i-l] ( #63315 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:11:50 +01:00
epenet
7f9b7c7b0e
Add light setup type hints [a-i] ( #63291 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:02:21 +01:00
epenet
33e4251606
Add binary_sensor setup type hints [h-n] ( #63269 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 11:32:26 +01:00
epenet
f724aea0bb
Ensure service calls are typed [a-j] ( #63013 )
...
* Ensure service calls are typed [a-j]
* Adjust apns
* Adjust arlo
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 18:50:51 +01:00
Sebastian Lövdahl
d18f1cc872
Use Platform constants all over the place 2/3 ( #62953 )
2021-12-28 21:23:07 +01:00
epenet
93c05b627f
Use new SensorDeviceClass in ihc ( #61799 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-14 18:46:02 +01:00
Marc Mueller
b6d9e517c2
Use assignment expressions 37 ( #58827 )
2021-10-31 18:45:27 +01:00
Marc Mueller
4f8148f9ea
Use assignment expressions 07 ( #57787 )
2021-10-17 20:24:34 +02:00
Erik Montnemery
2720ba2753
Move temperature conversions to sensor base class (4/8) ( #54472 )
...
* Move temperature conversions to entity base class (4/8)
* Fix litterrobot sensor
* Fix tests
2021-08-11 21:17:47 +02:00
Erik Montnemery
3e09787d85
Set device_class on temperature sensors F-K ( #52918 )
...
* Set device_class on temperature sensors F-K
* Fix juicenet sensor
2021-07-12 20:32:55 +02:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Franck Nijhof
aa6b26c9ff
Upgrade defusedxml to 0.7.1 ( #50671 )
2021-05-15 19:41:34 +02:00
tkdrob
1160a5f239
Add targets and selectors for services (I-K) ( #50542 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-14 20:34:59 +02:00
jan iversen
ebee5f7808
Fix ihc typing ( #49946 )
2021-05-01 21:01:56 +02:00
jan iversen
d52bc2373f
Integrations i* - m*: Rename HomeAssistantType to HomeAssistant. ( #49586 )
2021-04-23 09:55:20 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Erik Montnemery
fdf97eaca3
Migrate integrations i-m to extend SensorEntity ( #48213 )
2021-03-22 19:59:03 +01:00
Erik Montnemery
af4d06b12e
Update integrations f-i to override extra_state_attributes() ( #47757 )
2021-03-11 16:57:47 +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
tkdrob
57ce182959
Remove unnecessary constant from ihc ( #46268 )
2021-02-09 20:21:04 +01:00
Jens Østergaard Nielsen
b80571519b
IHC service functions support for multiple IHC controllers ( #44626 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-30 12:46:50 +01:00