Skip to content
Run the CLI config_check from a service call.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.devcontainer Change event to service object Oct 22, 2019
.github Summer update 😎 Jul 21, 2019
.vscode Change event to service object Oct 22, 2019
custom_components/config_check Change event to service object Oct 22, 2019
.gitignore Change event to service object Oct 22, 2019
LICENSE Summer update 😎 Jul 21, 2019
README.md Summer update 😎 Jul 21, 2019
example_error.png init Feb 26, 2019
example_ok.png init Feb 26, 2019
info.md Fix format Jul 21, 2019

README.md

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"
  }
}

You can’t perform that action at this time.