core/homeassistant/components/unifi
bdowden 18a7d15d14
Add Traffic Rule switches to UniFi Network (#118821)
* Add Traffic Rule switches to UniFi Network

* Retrieve Fix unifi traffic rule switches

Poll for traffic rule updates; have immediate feedback in the UI for modifying traffic rules

* Remove default values for unifi entity; Remove unnecessary code

* Begin updating traffic rule unit tests

* For the mock get request, allow for meta and data properties to not be appended to support v2 api requests

Fix traffic rule unit tests;

* inspect path to determine json response instead of passing an argument

* Remove entity id parameter from tests; remove unused code; rename traffic rule unique ID prefix

* Remove parameter with default.

* More code removal;

* Rename copy/paste variable; remove commented code; remove duplicate default code

---------

Co-authored-by: ViViDboarder <ViViDboarder@gmail.com>
2024-07-30 17:26:08 +02:00
..
hub Add Traffic Rule switches to UniFi Network (#118821) 2024-07-30 17:26:08 +02:00
__init__.py
button.py
config_flow.py
const.py
device_tracker.py
diagnostics.py
entity.py
errors.py
icons.json
image.py
manifest.json
sensor.py Add sensors for Unifi latency (#116737) 2024-07-30 17:20:56 +02:00
services.py
services.yaml
strings.json
switch.py Add Traffic Rule switches to UniFi Network (#118821) 2024-07-30 17:26:08 +02:00
update.py