Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Run the CLI config_check from a service call.

License

Notifications You must be signed in to change notification settings

custom-components/config_check

Repository files navigation

config_check

BuyMeCoffee

Run the CLI config_check from a service call.

When you run the service config_check.run it will generate a persistent_notification with the result.

Example results

Configuration is OK exampleok

Configuration have issues exampleerror

Installation

To get started put all the files from /custom_components/config_check/ here: <config directory>/custom_components/config_check/

Example configuration.yaml

config_check:

Service

config_check.run

You can add service data to the service call to make it run a service if it completes successfully.

examples:

{
  "service": "script.chek_ok"
}
{
  "service": "switch.turn_on",
  "service_data": {
    "entity_id": "switch.my_switch"
  }
}