Maciej Bieniek
2e156e56bf
Create an issue if Shelly TRV is not calibrated ( #96952 )
...
* Create issue if Shelly Valve is not calibrated
* Add test
* Improve test
* Improve issue description
* Restart -> reboot
2023-07-21 14:20:03 +02:00
Maciej Bieniek
db83dc9acc
Create an issue if push updates fail for Shelly gen1 devices ( #96910 )
...
* Create an issue if push updates fail
* Improve strings
* Delete the issue when reloading configuration entry
* Change MAX_PUSH_UPDATE_FAILURES to 5
* Improve issue strings
* Add test
* Use for
* Update homeassistant/components/shelly/strings.json
Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
* Simplify deleting the issue
---------
Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
2023-07-20 13:11:05 +02:00
Michael
36b4b5b887
Remove duplicated available property from Shelly coordinator entities ( #96859 )
...
remove duplicated available property
2023-07-18 22:18:41 +03:00
Marc Mueller
9e67bccb89
Replace EventType annotations with Event ( #96426 )
2023-07-18 08:51:06 +02:00
Maciej Bieniek
31dfa5561a
Add external power sensor for Shelly Plus HT ( #96768 )
...
* Add external power sensor for Plus HT
* Tests
2023-07-17 22:07:24 +03:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04: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
Joost Lekkerkerker
2f6826dbe3
Use DeviceInfo object s-x ( #96281 )
...
* Use DeviceInfo object o-x
* Use DeviceInfo object
2023-07-11 13:40:15 -04:00
Maciej Bieniek
79a122e1e5
Fix Shelly button unique_id
migration ( #95707 )
...
Fix button unique_id migration
2023-07-02 16:28:41 +03:00
Paulus Schoutsen
149ac4f99e
Capitalize a bunch of translations ( #95421 )
2023-06-28 11:08:53 +02:00
Maciej Bieniek
8d6a711cac
Make unique_id
of the Shelly button entity immutable ( #95160 )
2023-06-27 19:10:12 +02:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
Maciej Bieniek
05039036f1
Add compatibility with sleeping Shelly gen2 devices with firmware 1.0.0 ( #94864 )
2023-06-21 12:01:17 +02:00
Maciej Bieniek
15ddf69c6a
Bump Shelly backend library to version 5.4.0 ( #94829 )
...
Bump aioshelly to version 5.4.0
2023-06-19 00:10:29 +02:00
J. Nick Koston
2a5ffa9a5b
Fix timestamps for bluetooth scanners that bundle advertisements ( #94511 )
...
#94138 added support for raw/bundled advertisements. We should use the
same monotonic time for all advertisements in the bundle if not time
is passed, or calculate the timestamp and pass it if its known
2023-06-14 21:47:00 -04:00
Maciej Bieniek
7b3f100efb
Catch InvalidAuthError in shutdown()
method for Shelly gen2 devices ( #94563 )
...
* Catch InvalidAuthError in shutdown() method
* Add test
* Revert unwanted change in tests
2023-06-15 00:00:21 +03:00
Erik Montnemery
2406b235b4
Name unnamed binary sensors by their device class ( #92940 )
...
* Name unnamed binary sensors by their device class
* Update type annotations
* Fix loading of entity component translations
* Add test
* Update integrations
* Set abode and rfxtrx binary_sensor name to None
* Revert changes in homekit_controller
2023-06-13 19:48:54 +02:00
Maciej Bieniek
fe61672792
Don't inherit SensorEntity/NumberEntity and RestoreEntity in Shelly integration ( #93531 )
...
* Use RestoreNumber and Restore Sensor for block entities
* Update tests
* Use RestoreSensor for RPC entities
* Fix test for number platform
2023-06-04 19:14:08 -05:00
Maciej Bieniek
e6a214595b
Avoid KeyError when specifying the consumption type in Shelly integration ( #93561 )
...
Avoid KeyError when specifying the consumption type
2023-05-25 23:12:25 +02:00
Maciej Bieniek
eb058a3d41
Add illuminance sensor for Shelly gen2 devices ( #93559 )
2023-05-25 23:10:44 +02:00
Erik Montnemery
a71c097aeb
Revert "Allow setting an entity's name by its device class" ( #93539 )
2023-05-25 17:20:54 +02:00
epenet
6057aeee2f
Prevent NumberEntity and RestoreEntity inheritance ( #93467 )
2023-05-24 20:59:14 +02:00
epenet
c475273145
Prevent SensorEntity and RestoreEntity inheritance ( #88971 )
2023-05-24 12:49:35 +02:00
Erik Montnemery
67c1051305
Allow setting an entity's name by its device class ( #90767 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-09 18:55:55 +02:00
rrooggiieerr
7b8936b420
Add support for setting NumberMode using NumberEntityDescription ( #92427 )
2023-05-04 21:41:32 +02:00
epenet
1cca6f7c9e
Fix lingering timer in shelly ( #92466 )
2023-05-04 10:34:15 +02:00
Maciej Bieniek
5244f5731e
Do not reload Shelly TRV config entry ( #92000 )
2023-04-25 22:20:59 +02:00
Shay Levy
54a659c51b
Bump aioshelly to 5.3.2 ( #91679 )
2023-04-19 20:26:45 +03:00
Maciej Bieniek
dea29f539f
Use SensorDeviceClass.ENUM
and add state attributes translations in Shelly integration ( #89660 )
2023-03-15 18:52:42 +01:00
Maciej Bieniek
79bcdf43f7
Add current
sensor for Shelly RPC devices ( #88863 )
2023-03-01 16:26:20 +01:00
Maciej Bieniek
7119a0f811
Use suggested_display_precision
instead of rounding in Shelly sensor platform ( #87084 )
2023-02-20 10:20:52 -06:00
Maciej Bieniek
95bb019f71
Do not reload Shelly TRV entry when not needed ( #88037 )
...
* Do not reload the entry when the target temperature changes
* Do not reload the entry when the mode changes
* Increase test coverage
* Increase test coverage
2023-02-15 10:21:53 +01:00
Maciej Bieniek
cd4ce86f07
Add support for triple_push
event for Shelly gen2 devices ( #88081 )
...
* Add support for triple_push event
* Sort
* Fix tests
2023-02-15 10:20:27 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
23fa500406
Sort manifests 9 ( #87030 )
2023-02-08 20:22:30 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks ( #87344 )
2023-02-03 23:51:27 +01:00
Shay Levy
3cb9b273c9
Add Shelly Pro 3EM energy sensors ( #86476 )
...
* Add Shelly Pro 3EM energy sensors
* Add total and total returned energy counters
* Set single phase energy counters disabled by default
2023-02-03 23:18:59 +02:00
GitHub Action
ce79b26ab6
[ci skip] Translation update
2023-02-03 00:25:31 +00:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
GitHub Action
0f80932709
[ci skip] Translation update
2023-02-02 00:25:01 +00:00
GitHub Action
be73e43989
[ci skip] Translation update
2023-02-01 00:27:42 +00:00
Shay Levy
857df05308
Add Shelly Gen2 update entity for sleeping devices ( #86837 )
2023-01-30 19:05:13 +02:00
GitHub Action
0f6f63da64
[ci skip] Translation update
2023-01-29 00:26:29 +00:00
GitHub Action
072f228e4d
[ci skip] Translation update
2023-01-28 00:23:36 +00:00
Shay Levy
803cd8d9a3
Handle state unknown if last state is missing in Shelly ( #86813 )
...
Shelly - handle state unknown if last state is missing
2023-01-27 23:34:56 +01:00
Shay Levy
ae6bc96002
Shelly code quality ( #86733 )
2023-01-27 10:47:05 +02:00
GitHub Action
71d7098530
[ci skip] Translation update
2023-01-27 00:25:12 +00:00
Shay Levy
2c8cb13034
Bump aioshelly to 5.3.1 ( #86751 )
2023-01-27 00:34:31 +02:00
GitHub Action
7ab88fa713
[ci skip] Translation update
2023-01-26 00:23:39 +00:00