Naming your entities
The following rules apply to entity names:
- Names are case insensitive, i.e. "WindTurbine.Rotation" will be equal to "windturbine.rotation"
- Whitespace is not allowed
- Only alphanumeric characters, period โ.โ, dash โ-โ, and underscore โ_โ are allowed
- Must start with a letter
- Names can be maximum 64 characters long though you should try to keep the values fairly short
โ๏ธ Exception#
Method names cannot contain period โ.โ
For example the following property names are considered valid:
- Ambient.Temp
- Ambient_Temp
- Ambient.Temp01
The following property names are not valid:
- Ambient Temp Sensor
- 0_Ambient.Temp
- _Ambient.Temp
- Ambient:Temp:Sensor
For example the following method names are considered valid:
- convertTempTo_F
- setDeviceState
The following method names are not valid:
- convert.Temp.F
- _setDeviceState