

Note that not all devices that support turn_on and turn_off support toggle and vice versa. Toggle state - Let's you call the toggle service.Support for other states, if and when implemented later, will be through a different action. Set power state - Let's you call the turn_on or turn_off service for a particular Home Assistant entity.Then select the Home Assistant Plugin from the drop down list. You can find the appropriate location to place these by going to Touch Portal -> Settings -> Plugins. Scroll down to the Long-Lived Access Tokens section and click on the Create Token button. Home Assistant Access Key - You need to create a long-lived access token by logging into your Home Assistant server's web interface and going to your profile (eg: ).Home Assistant URL - This can be your local/private URL or your public URL.There are two things you need to enter into Touch Portal's plugin settings for Home Assistant:

I do not currently have one of these robot vacuums to be able to check. Unfortunately, support for the vacuum domain on Home Assistant's REST API might not be present. This plugin can support various robot vacuums and other devices within the vacuum domain. Also, support for most attributes, states, and services are very basic at the moment. That said, I do not have all the different device types available for testing at the moment. Most types of devices supported by Home Assistant should be supported by this plugin. Your plugin settings should also be retained.
#Hold button on nexus plugin upgrade#
That should fix any upgrade related issues. If you do, first try deleting the plugin, importing the plugin again, then restart Touch Portal. If you are upgrading from 0.9.4 or earlier to 0.9.5 or later, you may run into issues after the upgrade. Instead, you can set up Home Assistant and configure its Tuya integration or use IFTTT to control your Tuya devices. Due to the complexity of setting up and getting the necessary keys for Tuya's OpenAPI, I won't be releasing that plugin. I wrote this plugin as I initially had Tuya devices (via OpenAPI) but am now gradually migrating to a different platform as I've had issues dealing with Tuya's API. This is a Home Assistant plugin for Touch Portal.
