jesserockz/wizmote-esphome

Control Other things than light entities

stevetheman1031 opened this issue · 3 comments

Hello I have found this thread about using the wizmote with home assistant and I have installed the config into one of my esphome switches. I am not very good or familiar with making templates, but I was wondering if there is any way to make the wizmote control other thing other than light entities? Like pressing button 1 runs an automation and then button 2 ques up a switch entity and on and off changes the state. or the brightness button can make steps for a media player loudness. I do not know what it would take to get it like that. I know all the automation is doing is listening to events firing and doing the action on lights, what are all the events that the automation is listening for so I might be able to achieve what I want?

What events it sends depends on your configuration, but from the default that they give you in the readme, the device will emit the following events:

  • esphome.wizmote_choose
  • esphome.wizmote_action

From this, you should be able to write automations. The developer tools on the left have an events tab where you can monitor for these events and see what the variables look like, and from there, you should be able to create an automation like any other.

What events it sends depends on your configuration, but from the default that they give you in the readme, the device will emit the following events:

  • esphome.wizmote_choose
  • esphome.wizmote_action

From this, you should be able to write automations. The developer tools on the left have an events tab where you can monitor for these events and see what the variables look like, and from there, you should be able to create an automation like any other.

Can you point me to info on how to do this? I am very new to this.

I've been trying to do this as well. Take a look at my blueprints