Commit Graph
25 Commits
Author SHA1 Message Date
Daniel Moindrot 45a4decdbf feat: display MAC address and local IP in AirSend Box device info 4.1.0 2026-06-18 15:27:37 +02:00
Daniel Moindrot 87efd0bb67 Update README.md
Added invert option detail and modified manual installation method.
2026-06-14 18:06:16 +02:00
Daniel Moindrot 0a9d6fefcd Merge pull request #29 from devmel/38decibel-invert-option
feat: add invert option for covers with reversed open/close logic
4.0.0
2026-06-12 08:24:00 +02:00
Daniel Moindrot ed2acb6ef2 Add invert option in airsend.yaml exemple
Added 'invert' option for covers with reversed logic.
2026-06-12 08:23:02 +02:00
Daniel Moindrot b079939ccb Add invert option for covers with reversed open/close logic
- Add invert: true option in airsend.yaml for covers where
  open/close logic is reversed (e.g. shade sails, projector screens)
- UP/DOWN commands are swapped when invert is enabled
- Position value is mirrored (100 - position) for covers with position
- is_closed state logic is inverted accordingly
- inverted: true shown in entity attributes when active
2026-06-12 08:20:30 +02:00
Daniel Moindrot 9047b75ce6 Improve error handling, availability logic and state restore
- Add TransferResult enum (SUCCESS, SENT, SERVER_ERROR, NETWORK_ERROR)
  to distinguish network errors from server errors
- Only mark entities as unavailable on NETWORK_ERROR (addon unreachable)
- HTTP 401, 405, 500 no longer trigger unavailable state, logged instead
- Add RestoreEntity to cover, switch and light to restore last known
  state after HA restart
2026-06-12 08:09:24 +02:00
Daniel Moindrot 6949219c2b Merge pull request #28 from ijardillier/fix/cover-restore-state
Fix cover restore to avoid staying stuck unavailable after restart
2026-06-12 08:02:54 +02:00
Ingrid JARDILLIER 8db90ed88c Fix cover restore to avoid staying stuck unavailable after restart 2026-06-11 21:52:35 +02:00
Daniel Moindrot b688219e1a Update README and add HACS support files (#25)
* Enhance README with badges and installation details

Updated README to include badges, installation steps, and device options for AirSend integration.

* Update hacs.json

include content_in_root
delete iot_class thats not a hacs.json but manifest.json property

* Remove install script

Remove install script — installation is now handled via HACS or manual copy
2026-06-04 14:01:53 +02:00
Devmel Apps d31e77d1cf state persistence & device type fix 2026-04-01 10:35:15 +02:00
38decibel 7009d6ee89 feat: complete migration to config flow and bugfixes (@38decibel)
* feat: migrate to config flow with device registry and brand icons

- Migrate all platforms to async_setup_entry (config flow)
- Each device now appears as a real HA device in the device registry
- Add device_info to all entities (cover, switch, button, sensor, binary_sensor)
- Add config_flow.py with airsend.yaml + !secret resolution
- Add strings.json for UI labels
- Fix unique_id bug (was splitting each character of the name)
- Split binary_sensor.py from sensor.py
- Bump version to 4.0

* Add icon for local brand

* Revise installation steps for AirSend integration

* Correction du crash websocket

raise Exception remplacé par return False

* Update README with AirSend configuration steps

Added instructions for configuring AirSend in Home Assistant.

* Update README with clearer instructions for YAML

Clarified instructions for editing the airsend.yaml file.

* Add files via upload

* Add English translation for AirSend configuration

* Add fr translations

* Update screenshot following latest version

* Fixe unavailable and new type light

Corrections de bugs
500 avec wait: true non fatal

Nouveau type
light.py — lumière dimmable (type 4100)
2026-03-31 18:02:14 +02:00
Jourdain Alexandre 50c9b382cc Merge pull request #23 from lissyx/patch-1
Update README.md
2026-03-31 15:50:33 +02:00
lissyx a042935b08 Update README.md
Improve clarity that ?gw=0&rhost= is absolute requirement to ensure local connection.
2026-03-16 13:15:13 +01:00
Jourdain Alexandre 6c4fb699e4 Merge pull request #19 from spartDev/feature/cover-state-persistence
feat: Add state persistence for cover entities
2025-09-04 11:20:52 +02:00
spartDev 8512073e92 feat: Add state persistence for cover entities
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.
2025-08-31 20:00:08 +02:00
Devmel Apps 0c10a19810 Update README 2025-02-15 10:23:48 +01:00
Devmel Apps 65899064d4 RF listening and AirSend sensors 2023-08-08 17:58:43 +02:00
Devmel Apps 055cf05b48 async states 2023-08-04 16:41:19 +02:00
Devmel Apps bb072fd573 AirSend duo 2022-11-16 12:59:19 +01:00
Jourdain Alexandre 1513a864dc Merge pull request #3 from jujupointcom/master
1-button mapping
2022-08-16 20:39:32 +02:00
jujupointcom 138ffba2e1 Closes #2
Add Airsend 1-button mapping to HA ButtonEntity instead of SwitchEntity
2022-08-16 18:04:36 +02:00
Devmel Apps 40e2dfac42 Local LAN connection 2022-02-19 22:26:13 +01:00
Devmel Apps 7962a336a7 install command 2021-05-19 17:48:43 +02:00
Devmel Apps 1dd6e548bc install command 2021-05-19 17:45:52 +02:00
Devmel Apps 14a283f6ee first commit 2021-05-17 14:23:10 +02:00