8512073e92cef92ca59bf97faa2402887590cfaa
Implements RestoreEntity to maintain cover position and state after Home Assistant restarts. Changes: - Add RestoreEntity mixin to AirSendCover class - Implement async_added_to_hass() to restore previous state - Position restoration for type 4099 covers (with position support) - Open/closed state restoration for all cover types - Maintains backward compatibility with 50% default for new covers Fixes issue where covers would reset to 50% position after every restart.
AirSend for Home Assistant
Component for sending radio commands through the AirSend (RF433) or AirSend duo (RF433 & RF868).
Installation Steps
-
Add Repository:
- Click on "Add repository" to include the necessary repository for the addon installation or follow hass_airsend-addon
-
Place the
airsend.yamlFile:- Go to
airsend.cloud -> import/export -> Export - Select your devices, for local connection, select
spurl - Click
Export YAMLto save the airsend.yaml - In the
configfolder of Home Assistant, place theairsend.yamlfile.
- Go to
-
Edit the
secrets.yamlFile:- Add a line to the
secrets.yamlfile with the AirSend - Local IP - / - Password - (and IPv4 address). - If you know the IPv4 address, the line should look like this:
spurl: sp://**************@[fe80::xxxx:xxxx:xxxx:xxxx]?gw=0&rhost=192.168.xxx.xxx - or this if you don't know the IPv4 address :
spurl: sp://**************@[fe80::xxxx:xxxx:xxxx:xxxx]?gw=1 - Replace
**************with the AirSend Password,fe80::xxxx:xxxx:xxxx:xxxxwith AirSend Local IP and192.168.xxx.xxxwith the AirSend IPv4 address.
- Add a line to the
-
Edit the
configuration.yamlFile:- Add the following line to the
configuration.yamlfile to include theairsend.yamlfile:airsend: !include airsend.yaml
- Add the following line to the
-
Install the Custom Component:
- In the Home Assistant terminal, run the following command to install the component:
wget -q -O - https://raw.githubusercontent.com/devmel/hass_airsend/master/install | bash -
- In the Home Assistant terminal, run the following command to install the component:
-
Restart Home Assistant and the AirSend Addon:
- Restart Home Assistant.
- Restart the AirSend addon.
These steps will integrate AirSend with Home Assistant, allowing you to manage and automate AirSend-related tasks through the Home Assistant interface.
Information
- This requires the execution of hass_airsend-addon, if it is not on the same machine it is possible to add the field
internal_url: http://x.x.x.x:33863/in airsend.conf - For local connection, the AirSend IPv4 address is required, you can find it in your router or Airsend App for Windows.
Preview
Description
Home Assistant Component permettant d'envoyer des commandes radio via AirSend (RF433) ou AirSend duo (RF433 & RF868).
Readme
GPL-3.0
304 KiB
0 Stars
1 Watchers
0 Forks
Languages
Python
100%