Skip to main content

Service calls

CallService does not affect the device/entity/area

There are a number of reasons service calls using CallService does not work when you use it indirectly through TurnOn/TurnOff methods.

Problems with the actual device/entity

Please check that the device/entity responds to service calls using the GUI. You can find the tool for calling services under the menu item Developer tools and select the `SERVICES" tab. Call the service from there with the exact parameters you are using in NetDaemon. If this works as expected it is time to check what the actual service call is.

Check the logs

If you do faulty service calls it would normally log an error. Please check your add-on log, container log or the log where you run NetDaemon runtime.

Check the service call that are created from NetDaemon

Home Assistant has a great feature to be able to track events in the GUI. Pleas use menu item Developer Tools and select the EVENTS tab. Use the Listen to events section. Type in call_service in the form Listening to and press START LISTENING. Se example image below how it could look when you go a event from turning on a light.