-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.8.0: Added new capabilities (Min.FW >= 12.2.0). 1.8.1: Internal change for capability update (type check).
- Loading branch information
1 parent
8ed9d2a
commit 3130099
Showing
204 changed files
with
19,468 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,178 @@ | ||
'use strict'; | ||
|
||
const customTemplateCapabilities = [ | ||
{id:"onoff"}, | ||
{id:"onoff_button"}, | ||
{id:"onoff_state"}, | ||
{id:"button"}, | ||
{id:'alarm_generic'}, | ||
{id:'alarm_battery'}, | ||
{id:'alarm_co'}, | ||
{id:'alarm_co2'}, | ||
{id:'alarm_contact'}, | ||
{id:'alarm_fire'}, | ||
{id:'alarm_heat'}, | ||
{id:'alarm_motion'}, | ||
{id:'alarm_pm25'}, | ||
{id:'alarm_smoke'}, | ||
{id:'alarm_tamper'}, | ||
{id:'alarm_water'}, | ||
{id:'measure_numeric'}, | ||
{id:'measure_generic'}, | ||
{id:'measure_battery'}, | ||
{id:'measure_co'}, | ||
{id:'measure_co2'}, | ||
{id:'measure_current'}, | ||
{id:'measure_gust_angle'}, | ||
{id:'measure_gust_strength'}, | ||
{id:'measure_humidity'}, | ||
{id:'measure_luminance'}, | ||
{id:'measure_noise'}, | ||
{id:'measure_pm25'}, | ||
{id:'measure_power'}, | ||
{id:'measure_pressure'}, | ||
{id:'measure_rain'}, | ||
{id:'measure_temperature'}, | ||
{id:'measure_ultraviolet'}, | ||
{id:'measure_voltage'}, | ||
{id:'measure_water'}, | ||
{id:'measure_wind_angle'}, | ||
{id:'measure_wind_strength'}, | ||
{id:'meter_gas'}, | ||
{id:'meter_power'}, | ||
{id:'meter_rain'}, | ||
{id:'meter_water'} | ||
// Source: https://github.com/athombv/node-homey-lib/blob/master/assets/capability/capabilities.json | ||
const customTemplateCapabilities = | ||
[ | ||
"onoff", | ||
"dim", | ||
"light_hue", | ||
"light_saturation", | ||
"light_temperature", | ||
"light_mode", | ||
"vacuumcleaner_state", | ||
"thermostat_mode", | ||
"target_temperature", | ||
"measure_temperature", | ||
"measure_co", | ||
"measure_co2", | ||
"measure_pm25", | ||
"measure_humidity", | ||
"measure_pressure", | ||
"measure_noise", | ||
"measure_rain", | ||
"measure_wind_strength", | ||
"measure_wind_angle", | ||
"measure_gust_strength", | ||
"measure_gust_angle", | ||
"measure_battery", | ||
"measure_power", | ||
"measure_voltage", | ||
"measure_current", | ||
"measure_luminance", | ||
"measure_ultraviolet", | ||
"measure_water", | ||
"alarm_generic", | ||
"alarm_motion", | ||
"alarm_contact", | ||
"alarm_co", | ||
"alarm_co2", | ||
"alarm_pm25", | ||
"alarm_tamper", | ||
"alarm_smoke", | ||
"alarm_fire", | ||
"alarm_heat", | ||
"alarm_water", | ||
"alarm_battery", | ||
"alarm_night", | ||
"meter_power", | ||
"meter_water", | ||
"meter_gas", | ||
"meter_rain", | ||
"homealarm_state", | ||
"volume_set", | ||
"volume_up", | ||
"volume_down", | ||
"volume_mute", | ||
"channel_up", | ||
"channel_down", | ||
"locked", | ||
"lock_mode", | ||
"garagedoor_closed", | ||
"windowcoverings_state", | ||
"windowcoverings_tilt_up", | ||
"windowcoverings_tilt_down", | ||
"windowcoverings_tilt_set", | ||
"windowcoverings_closed", | ||
"windowcoverings_set", | ||
"button", | ||
"speaker_playing", | ||
"speaker_next", | ||
"speaker_prev", | ||
"speaker_shuffle", | ||
"speaker_repeat", | ||
"speaker_artist", | ||
"speaker_album", | ||
"speaker_track", | ||
"speaker_duration", | ||
"speaker_position", | ||
"alarm_bin_full", | ||
"alarm_bin_missing", | ||
"alarm_cleaning_pad_missing", | ||
"alarm_cold", | ||
"alarm_connectivity", | ||
"alarm_door_fault", | ||
"alarm_gas", | ||
"alarm_light", | ||
"alarm_lost", | ||
"alarm_moisture", | ||
"alarm_noise", | ||
"alarm_occupancy", | ||
"alarm_pm01", | ||
"alarm_pm1", | ||
"alarm_pm10", | ||
"alarm_power", | ||
"alarm_presence", | ||
"alarm_problem", | ||
"alarm_pump_device", | ||
"alarm_pump_supply", | ||
"alarm_running", | ||
"alarm_safety", | ||
"alarm_stuck", | ||
"alarm_tank_empty", | ||
"alarm_tank_missing", | ||
"alarm_tank_open", | ||
"alarm_vibration", | ||
"audio_output", | ||
"battery_charging_state", | ||
"dishwasher_program", | ||
"docked", | ||
"fan_mode", | ||
"fan_speed", | ||
"heater_operation_mode", | ||
"measure_hepa_filter", | ||
"hot_water_mode", | ||
"laundry_washer_cycles", | ||
"laundry_washer_program", | ||
"laundry_washer_speed", | ||
"level_aqi", | ||
"level_carbon_filter", | ||
"level_ch2o", | ||
"level_co", | ||
"level_co2", | ||
"level_nox", | ||
"level_o3", | ||
"level_pm1", | ||
"level_pm01", | ||
"level_pm10", | ||
"level_pm25", | ||
"level_radon", | ||
"level_so2", | ||
"level_tvoc", | ||
"measure_aqi", | ||
"measure_carbon_filter", | ||
"measure_ch2o", | ||
"measure_content_volume", | ||
"measure_data_rate", | ||
"measure_data_size", | ||
"measure_distance", | ||
"measure_frequency", | ||
"level_hepa_filter", | ||
"measure_moisture", | ||
"measure_monetary", | ||
"measure_nox", | ||
"measure_o3", | ||
"measure_odor", | ||
"measure_ph", | ||
"measure_pm1", | ||
"measure_pm01", | ||
"measure_pm10", | ||
"measure_radon", | ||
"measure_rain_intensity", | ||
"measure_rotation", | ||
"measure_signal_strength", | ||
"measure_so2", | ||
"measure_speed", | ||
"measure_tvoc", | ||
"measure_tvoc_index", | ||
"measure_weight", | ||
"media_input", | ||
"mower_state", | ||
"operational_state", | ||
"oscillating", | ||
"pump_mode", | ||
"pump_setpoint", | ||
"refrigerator_mode", | ||
"speaker_stop", | ||
"swing_mode", | ||
"target_humidity_max", | ||
"target_humidity_min", | ||
"target_humidity", | ||
"target_temperature_level", | ||
"target_temperature_max", | ||
"target_temperature_min", | ||
"vacuumcleaner_job_mode", | ||
"valve_position" | ||
]; | ||
|
||
|
||
module.exports = customTemplateCapabilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.