----------------------------------------------------------------------------- Create the values managed by this command class -----------------------------------------------------------------------------
| 342 | // Create the values managed by this command class |
| 343 | //----------------------------------------------------------------------------- |
| 344 | void ThermostatFanMode::CreateVars |
| 345 | ( |
| 346 | uint8 const _instance |
| 347 | ) |
| 348 | { |
| 349 | if( m_supportedModes.empty() ) |
| 350 | { |
| 351 | return; |
| 352 | } |
| 353 | |
| 354 | if( Node* node = GetNodeUnsafe() ) |
| 355 | { |
| 356 | node->CreateValueList( ValueID::ValueGenre_User, GetCommandClassId(), _instance, 0, "Fan Mode", "", false, false, 1, m_supportedModes, m_supportedModes[0].m_value, 0 ); |
| 357 | } |
| 358 | } |
| 359 |
nothing calls this directly
no test coverage detected