1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00
Files
core/homeassistant/components/ombi/services.yaml
Tommy Larsson 60f0988435 Add Ombi integration (#26755)
* Add Ombi integration

* Black

* Remove trailing comma

* Change dict.get to dict[key] for known keys

* Remove monitored conditions from config

* Define SCAN_INTERVAL for default scan interval

* Adjust requests syntax and add music_requests

* Remove Ombi object initialization

* Move constants to const.py

* Fix imports

* Set pyombi requirement to version 0.1.3

* Add services.yaml

* Add config schema and setup for integration

* Set pyombi requirement to version 0.1.3

* Fix syntax for scan interval

* Fix datetime import

* Add all files from ombi component

* Move imports around

* Move imports around

* Move pyombi import to top of module

* Move scan_interval to sensor module

* Add custom validator for urlbase

* Add guard clause for discovery_info

* Add service validation schemas and constants

* Bump pyombi version

* Adjust urlbase validation

* Add exception warnings for irretrievable media

* Bump pyombi

* Change from .get to dict[key]

* Change schema and conf variable names

* Set return to return false

* Remove unneeded return
2019-09-23 00:57:39 +02:00

27 lines
670 B
YAML

# Ombi services.yaml entries
submit_movie_request:
description: Searches for a movie and requests the first result.
fields:
name:
description: Search parameter
example: "beverly hills cop"
submit_tv_request:
description: Searches for a TV show and requests the first result.
fields:
name:
description: Search parameter
example: "breaking bad"
season:
description: Which season(s) to request (first, latest or all)
example: "latest"
submit_music_request:
description: Searches for a music album and requests the first result.
fields:
name:
description: Search parameter
example: "nevermind"