Adjust device_automation type hints in netatmo (#72136)
-
Adjust device_automation type hints in netatmo
-
Improve type hints
bdraco push bdraco/home-assistant
commit sha: 2f7b252e83ec41765b5ebb6c568d617e7e184e64
push time in 1 hour agobdraco wants to merge home-assistant/home-assistant.io
current
branch).current
branch).next
branch).
next
branch).current
branch.next
branch.* **Device Configuration** - Smart chimes will get a volume slider to adjust the chime's loudness and a sensor for the last time the chime rang.
bdraco merge to home-assistant/home-assistant.io
current
branch).current
branch).next
branch).
next
branch).current
branch.next
branch.bdraco wants to merge home-assistant/home-assistant.io
current
branch).current
branch).next
branch).
next
branch).current
branch.next
branch.* **Button** - A button to trigger the chime manually for each smart chime device. Also, a disabled by default button is added to let you reboot your smart chime device.
bdraco merge to home-assistant/home-assistant.io
current
branch).current
branch).next
branch).
next
branch).current
branch.next
branch.bdraco pull request home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
bdraco merge to home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
Looks good
bdraco wants to merge home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
camera = instance.bootstrap.cameras[doorbell_ufp_device_id]
bdraco merge to home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
bdraco wants to merge home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
doorbell_ufp_device_id = _async_unique_id_to_ufp_device_id(doorbell_sensor.unique_id)
bdraco merge to home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
bdraco wants to merge home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
def _async_unique_id_to_ufp_device_id(unique_id: str) -> str:
bdraco merge to home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
bdraco wants to merge home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
chime = instance.bootstrap.chimes[chime_ufp_device_id]
bdraco merge to home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
bdraco wants to merge home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
chime_ufp_device_id = _async_unique_id_to_ufp_device_id(chime_button.unique_id)
bdraco merge to home-assistant/core
Adds support for the new UP Chime devices for UniFi Protect
set_chime_paired_doorbells
that lets your pair doorbells to a chime (this will make if so if the doorbell rings, the chime will also ring)
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
bdraco issue comment home-assistant/core
This is a fix to #70015, although it is hard to test because it is dependend on a firmware update of the powerwall. Through my changes the integration reauthenticates when it receives an AccessDeniedError. An AccessDeniedError indicates either the credentials that are provided are wrong or the token is expired, therefore the reauthentication. Before my changes the loop was always executed only once, because each branch of the try either returned or raised.
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
Looks like the approval didn't actually take since my internet dropped out for a minute, but its merged.
bdraco pull request home-assistant/core
This is a fix to #70015, although it is hard to test because it is dependend on a firmware update of the powerwall. Through my changes the integration reauthenticates when it receives an AccessDeniedError. An AccessDeniedError indicates either the credentials that are provided are wrong or the token is expired, therefore the reauthentication. Before my changes the loop was always executed only once, because each branch of the try either returned or raised.
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
bdraco issue home-assistant/core
At 2:26:31am, HA stopped connecting to my PW and fetching data. All sensors went to unavailable (expected) but never returned. Required HA to be restarted before the integration would recover.
2022-04-14 02:26:31 ERROR (MainThread) [homeassistant.components.powerwall] Error fetching Powerwall site data: Unable to fetch data from powerwall
(this was the only message in the log)
I have a binary ping sensor to ping the PW GW and that never went unreachable; I then have an automation to alert me, that also never tripped, so it was still connected at an IP level to my network. I could still ping it manually as well.
The PW has only been installed a week and therefore I can't comment if this has regressed at all.
PowerWall 2 (GW2) by Tesla Firmware: 22.9.1
Interestingly, I have a friend who also has HA and also has a PW, whose integration also did this last night ! Very different time though (10pm not 2am). They have firmware 21.44, and they have also seen this happen once before but didn't
core-2022.4.3
No response
Home Assistant OS
Tesla Powerwall
https://www.home-assistant.io/integrations/powerwall
No response
No response
2022-04-14 02:16:01 ERROR (Thread-6) [pychromecast.socket_client] [Kitchen Home(192.168.x.xx):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.x.xx', 8009)), retrying in 5.0s
2022-04-14 02:26:31 ERROR (MainThread) [homeassistant.components.powerwall] Error fetching Powerwall site data: Unable to fetch data from powerwall
2022-04-14 02:52:56 WARNING (Thread-5) [pychromecast.socket_client] [Front Living TV(192.168.x.xx):8009] Heartbeat timeout, resetting connection
No response
bdraco issue comment home-assistant/core
This is a fix to #70015, although it is hard to test because it is dependend on a firmware update of the powerwall. Through my changes the integration reauthenticates when it receives an AccessDeniedError. An AccessDeniedError indicates either the credentials that are provided are wrong or the token is expired, therefore the reauthentication. Before my changes the loop was always executed only once, because each branch of the try either returned or raised.
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
Ran fine overnight.
👍
bdraco issue comment home-assistant/core
This is a fix to #70015, although it is hard to test because it is dependend on a firmware update of the powerwall. Through my changes the integration reauthenticates when it receives an AccessDeniedError. An AccessDeniedError indicates either the credentials that are provided are wrong or the token is expired, therefore the reauthentication. Before my changes the loop was always executed only once, because each branch of the try either returned or raised.
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
.python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests:
But I'm not sure how that could be achieved.
Yeah thats the problem isn't it. 🙈
bdraco push bdraco/frontend
commit sha: 11dfb74d9acd0b1276c72e42b1d1a25413e4223b
push time in 3 hours agobdraco push bdraco/frontend
commit sha: d0c28555b7ec8df319da0eba32878942739d0694
push time in 3 hours agobdraco push bdraco/frontend
commit sha: 3c5db5ca0a0e6e7da0dd713b8f6990243eae5de6
push time in 3 hours agobdraco push bdraco/frontend
commit sha: e9f9da89dd07f14a489f438eaf760b7ccbd5094d
push time in 3 hours agobdraco push bdraco/frontend
commit sha: 2e564e6357abb271e3d0d81532a9bd779bbb5cf8
push time in 3 hours agobdraco pull request home-assistant/frontend
Fixes #12698 (except for the backend messages that come from integrations)
If user exposed functionality or configuration variables are added/changed:
Adjust device_automation type hints in nest (#72197)