core/tests/components/octoprint
Xitee 7065625d28
Add additional buttons to OctoPrint (#103139)
* Add 3 new buttons

- System shutdown button
- System reboot button
- Octoprint restart button

* Enable buttons by default

* Add tests

* Fix tests

* Remove accidentally committed unused code

* Add RESTART device class to RestartOctoprint and RebootSystem buttons

* Apply suggestions to octoprint test_button

* Freeze time for OctoPrint button tests

* Make new button base class to prevent implementing the availability check multiple times
2024-03-18 16:20:22 +01:00
..
__init__.py Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
test_binary_sensor.py Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
test_button.py Add additional buttons to OctoPrint (#103139) 2024-03-18 16:20:22 +01:00
test_camera.py Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
test_config_flow.py Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
test_sensor.py Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
test_servics.py Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00