Hooks to change andFHEM behaviour from within the fhem.cfg file.

Each user attribute has to be added separately to the allowed user attributes in FHEM (i.e. attr global userattr onOffDevice)

Name User Attribute Example Minimum Version
OnOffButtons
Display on / off buttons instead of toggle buttons
onOffDevice
the value has to be boolean (true or false)
attr mat_halogen onOffDevice true
attr mat_halogen onOffDevice false
1.7.0
OnButton
Display only an on button
onDevice
the value has to be boolean (true or false)
attr mat_halogen onDevice true
1.9.4
OffButton
Display only an off button
offDevice
the value has to be boolean (true or false)
attr mat_halogen offDevice true 1.9.4
WebCmd
Display all webcmd buttons within the device overview list.
webcmdDevice
the value has to be boolean (true or false)
attr mat_halogen webcmdDevice true 2.5.7
ToggleButton
Display a toggle button 
toggleDevice
the value has to be boolean (true or false)
attr mat_halogen toggleDevice true 1.9.5
InvertState
Display a toggle button
invertState
the value has to be boolean (true or false)
attr mat_halogen invertState true 1.9.9
OnStateName
Field to regard as "on". This is also used for reading the eventMap state name
OnStateName
the state name to regard as on
attr mat_halogen onStateName toggle 2.0.5
OffStateName
Field to regard as "on". This is also used for reading the eventMap state name
OffStateName
the state name to regard as off
attr mat_halogen offStateName toggle 2.0.5
WidgetName
Specify a name displayed within widgets. Space within app widgets is usually quite thin, so you may want to specify a shortname instead of having the app cut your default name to the available screen size.
widget_name
the name to display within widgets
attr mat_halogen widget_name short 2.5.9
AlwaysHidden
Completely hide a device from andFHEM.
always_hidden
the value has to be boolean (true or false)

attr mat_halogen always_hidden true 2.6.2
Sum graph division factor
Configures a division factor for the sum graph (so that you can define the proportion between current and sum values)
sum_graph_division_factor attr 00STROM sum_graph_division_factor 0.5
Some decimal value (no comma, only dots, allowed!)
3.0.7
Voice command device pronunciation
Attribute defining a pronunciation for the device.
pronunciation attr mat_halogen pronunciation halogen 3.3.2