Protofy icon indicating copy to clipboard operation
Protofy copied to clipboard

Cant use capital letters to name the component GPIO Switch in the device definition

Open elchanka opened this issue 1 year ago • 0 comments

Expected Behavior

Expected to be able to interact with a GPIO Switch that have capital letters in its name

Current Behavior

You are unable to interact with a GPIO Switch component via mqtt

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a device definition
  2. Edit the config
  3. In a pin create a GPIO Switch
  4. Configure the wifi and mqtt components
  5. Save the config and device definition
  6. Go to the grid view in the devices page
  7. Try to turn on or off the switch

Context (Environment)

  • Default setup
  • OS: Windows 10
  • Browser: Chrome
  • Environment: dev

Issue demo

image

https://github.com/Protofy-xyz/Protofy/assets/113910381/105b8876-1a84-40f1-b900-4464e6c104c6

elchanka avatar Feb 01 '24 01:02 elchanka