Commit graph

45 commits

Author SHA1 Message Date
Tomaae
952f3877b7
Replaced deprecated async_setup_platforms with async_forward_entry_setups 2022-08-18 10:45:31 +02:00
Tomaae
574d3137b9
updated devices removal entries for future use 2022-06-25 13:56:39 +02:00
Tomaae
9da682b314
added option to manually remove devices #198 2022-05-26 10:16:58 +02:00
Tomaae
d1a8c624fb
init cleanup 2022-03-26 01:29:03 +01:00
Tomaae
7d76af5b79 removed DATA_CLIENT from DOMAIN 2022-02-18 08:06:10 +01:00
Tomaae
123044fceb cleanup integration init 2022-02-01 10:11:42 +01:00
Tomaae
556d550799 Redid integration setup to setup platform 2022-01-24 13:43:00 +01:00
Tomaae
07a9db9854 Destroy integration data only after unload platform is successful 2022-01-24 13:38:32 +01:00
Tomaae
a918a039ab Redid integration remove to unload platform 2022-01-24 12:47:19 +01:00
Tomaae
3b95198ad8 Added exception on connection failure during startup. 2022-01-24 11:50:58 +01:00
Tomaae
8f7202d418 Format serial number #161 2022-01-21 15:50:25 +01:00
Tomaae
1206793dc3 implemented scripts to button entity 2022-01-08 21:05:50 +01:00
tomaae
fd99539e22 Black formatting 2021-12-13 14:02:25 +01:00
tomaae
448483da22 Merged System category
Added Visit Device URL
2021-12-13 13:26:46 +01:00
tomaae
84e8046943 Added connections to device registry, fixes #114 2021-05-04 17:15:07 +02:00
tomaae
7d0a614a86 added option to specify router name for services 2020-04-20 11:46:23 +02:00
tomaae
4e66101038 added run_script service #30 2020-04-20 11:05:49 +02:00
tomaae
70cdb93eb3 reformatted using black 2020-04-11 05:45:36 +02:00
tomaae
8f89051be6 changed controller object name 2020-04-11 05:35:40 +02:00
tomaae
1c96532b5c separated arp ping from main update 2020-04-11 05:14:39 +02:00
tomaae
672b114dbd reordered and correctly named controller functions 2020-04-11 01:10:56 +02:00
tomaae
2d88ed8aaf refactored config flow #26 2020-04-08 20:31:47 +02:00
Ivan Pavlina
069897c32c Removed manual accounting enable/disable checkbox, now it dinamically creates entites depending on state in Mikrotik. Reverted config flow to version 1.
Reused ARP call in accounting hosts building.
2020-04-07 14:50:26 +02:00
Ivan Pavlina
aee33b8c13 Removed building hosts from ARP table for accounting devices - will use only DHCP leases.
Removed unnecessary code, put all accounting sensors in the same group, set accounting sensors key to mac-address
2020-04-07 13:33:48 +02:00
Ivan Pavlina
8244a146de Build hosts dynamically on every update 2020-04-07 13:02:01 +02:00
Ivan Pavlina
30c11db741 Add ability to track accounting data from Mikrotik. 2020-04-04 19:42:05 +02:00
Andrey Khrolenok
7ccaf0d9c3
PM8 code optimization 2020-03-21 19:02:28 +03:00
tomaae
e418c20252 reformatted code using black 2020-03-16 04:51:41 +01:00
tomaae
b6e5c10540 added option to select units of measurement for traffic #10 2020-03-16 01:32:13 +01:00
tomaae
91b769481e refactoring 2019-12-05 22:10:42 +01:00
tomaae
b851085f48 removed trailing whitespace from empty lines 2019-12-05 20:45:04 +01:00
tomaae
7d9470133e removed unused arguments 2019-12-05 20:43:00 +01:00
tomaae
fe74959b7e added firmware update binary sensor 2019-12-04 16:09:30 +01:00
tomaae
f95e87ed32 remove switches when integration is deleted 2019-12-03 18:25:20 +01:00
tomaae
46900a967b added system sensors 2019-12-03 03:09:30 +01:00
tomaae
634db3f44e added enable/disable interface switches 2019-12-03 01:49:25 +01:00
tomaae
b7083263fb converted leading tabs to spaces 2019-12-02 18:13:55 +01:00
tomaae
0a6c8d369d flake8 compliance 2019-12-02 17:59:49 +01:00
tomaae
0c245b5a46 fixed local lib imports 2019-12-02 17:44:36 +01:00
tomaae
a62b035bf5 removed unused imports and variables after mikrotik_controller separation 2019-12-02 16:22:01 +01:00
tomaae
c24f49252a separated mikrotik_controller
pylint cleanup
2019-12-02 04:19:40 +01:00
tomaae
fbf1c112b3 passing mac2ip to update_bridge_hosts 2019-12-02 03:34:54 +01:00
tomaae
b430acc11a moved update_bridge_hosts to separate function 2019-12-02 03:33:49 +01:00
tomaae
3b5acc2393 flake8 complaint 2019-12-02 03:19:07 +01:00
tomaae
41fb06bb0e initial commit 2019-12-02 01:13:28 +01:00