- Posts: 64
- Thank you received: 1
Sensor device type
- retate
- Topic Author
- Offline
- User
-
Less
More
2 years 3 months ago #2289
by retate
Sensor device type was created by retate
For the Caseta driver I found that when importing the Caseta integration file if a device name contains Sensor in the name, the type will be set to Sensor rather than type Remote. If this is the intended behavior, it would be helpful to add that to the Caseta documentation.
I would find it helpful if a similar behavior was applied such that a device name that contains Switch in the name would set the type to switch instead of dimmer.
I would find it helpful if a similar behavior was applied such that a device name that contains Switch in the name would set the type to switch instead of dimmer.
Please Log in to join the conversation.
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
2 years 3 months ago #2356
by davep
Replied by davep on topic Sensor device type
I thought if it had Sensor in its name that it should be a Sensor. It will be a Remote now.
Any device with a name with Switch in it will be a switch.
Any device with a name with Switch in it will be a switch.
Please Log in to join the conversation.
- retate
- Topic Author
- Offline
- User
-
Less
More
- Posts: 64
- Thank you received: 1
2 years 3 months ago #2362
by retate
Replied by retate on topic Sensor device type
Having "sensor" in the name being identified as type sensor is good thing in my opinion. I was only suggesting that adding a line to the documentation noting this would be helpful. If you are making a change such that a name with "switch" in it will be identified as type switch, should also be noted in the documentation.I thought if it had Sensor in its name that it should be a Sensor. It will be a Remote now.
Any device with a name with Switch in it will be a switch.
Please Log in to join the conversation.
Time to create page: 0.196 seconds