JoDehli / PyLoxone

Python Loxone binding
Apache License 2.0
162 stars 40 forks source link

[Question]: Change text of virtual text input in loxone? #231

Closed brechtvhb closed 4 months ago

brechtvhb commented 4 months ago

Describe the bug

I created a virtual text input in loxone and would like to set the text content of it with home assistant. In home assistant it gets converted to a regular text sensor wih these attributes

Uuid: 1c452304-0061-4e74-ffffeb5c57ac4c41
Device typ:TextInput
Platform: loxone

Is it possible to set the text of the input or is a change in PyLoxone needed to make this possible?

Firmware of your Miniserver

14.5

HomeAssistant install method

HASS

Version of HomeAssistant

2024.1

Version of Pyloxone

0.6.1

Update pyloxone

Yes

Log

Settings for the log can be found on the main page under the section Log Configuration

brechtvhb commented 4 months ago

Seems to be possible by calling the websocket_command service with these params.

service: loxone.event_websocket_command
data: 
  uuid: "1c452304-0061-4e74-ffffeb5c57ac4c41"
  value: "text from HA"
JoDehli commented 4 months ago

@brechtvhb if you have such a question you can look in the so-called structure file document. You will find the latest version on the loxone home page. There you can find all possible commands for all the entities.