core/tests/components
Timo S 896ba7e3fa Added new statistic attributes (#9433)
* Added new statistic attributes

Added new attributes:
  - Cleaning count
  - Total cleaning time
  - Total cleaning area
  - Time left to change main brush, side brush and filter

* Code corrections

Code corrections

* Remove wronge hanging indentation

* Added new attributes

ATTR_MAIN_BRUSH_LEFT
ATTR_SIDE_BRUSH_LEFT
ATTR_FILTER_LEFT
ATTR_CLEANING_COUNT
ATTR_CLEANED_TOTAL_AREA
ATTR_CLEANING_TOTAL_TIME

* Remove trailing white space

* Corrections of the unit test for new attributes

* Hound corrections

* Init self.clean_history, self.consumable_state

* Hound correction

* - Cleaning time and total cleaning time shown in minutes
- Cleaned area and total cleaned area shown in square meters
- Main brush left, side brush left, filter left time shown in hours
- Display of the unit of measurement

* Remove trailing white spaces

* Fixed wrong continued indentation

* Fixed Hound

* Fixed Hound

* Added new statistic attributes

Added new attributes:
  - Cleaning count
  - Total cleaning time
  - Total cleaning area
  - Time left to change main brush, side brush and filter

* Code corrections

Code corrections

* Remove wronge hanging indentation

* Init self.clean_history, self.consumable_state

* Hound correction

* Remove UOM

* Merge

* Init self.clean_history, self.consumable_state

* Hound correction

* Init self.clean_history, self.consumable_state

* Hound correction

* Removed double declarations
2017-09-25 22:27:27 +02:00
..
alarm_control_panel Added support for ARM_NIGHT for manual_mqtt alarm (#9358) 2017-09-24 08:57:37 +02:00
alexa Alexa smart home native support (#9443) 2017-09-16 12:35:28 -07:00
automation
binary_sensor Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
calendar
camera Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
climate Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
cloud Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
config
cover MQTT Cover: Add availability topic and configurable payloads (#9445) 2017-09-25 19:35:11 +02:00
device_tracker Clean up OwnTracks (#9569) 2017-09-25 09:05:09 -07:00
emulated_hue Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
fan
http
image_processing Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
light Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
lock
mailbox
media_player Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
mqtt Adds MQTT Fan Discovery (#9463) 2017-09-17 11:32:22 +02:00
notify
recorder
remote
scene
sensor GeoRSS sensor (#9331) 2017-09-24 08:12:38 +02:00
switch Add test cases and fix for device_defaults fire_event option. (#9567) 2017-09-24 15:47:59 -07:00
tts
vacuum Added new statistic attributes (#9433) 2017-09-25 22:27:27 +02:00
weather
zwave
__init__.py
test_alert.py
test_api.py
test_apiai.py
test_configurator.py
test_conversation.py
test_counter.py
test_datadog.py
test_demo.py
test_device_sun_light_trigger.py
test_discovery.py
test_duckdns.py Add DuckDNS component (#9556) 2017-09-24 15:48:45 -07:00
test_dyson.py
test_ffmpeg.py
test_frontend.py
test_google.py
test_graphite.py
test_group.py
test_hassio.py
test_history.py Add history_graph component (#9472) 2017-09-23 10:01:48 -07:00
test_history_graph.py Add history_graph component (#9472) 2017-09-23 10:01:48 -07:00
test_influxdb.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
test_init.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
test_input_boolean.py
test_input_select.py
test_input_slider.py
test_input_text.py
test_intent_script.py
test_introduction.py
test_kira.py
test_litejet.py
test_logbook.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
test_logentries.py
test_logger.py
test_microsoft_face.py
test_mqtt_eventstream.py
test_mqtt_statestream.py mqtt_statestream: Update to append 'state' to topic for future use with mqtt discovery (#9446) 2017-09-15 23:05:58 -07:00
test_panel_custom.py
test_panel_iframe.py
test_persistent_notification.py
test_pilight.py
test_plant.py
test_prometheus.py
test_proximity.py
test_python_script.py Add reload service to python_script (#9512) 2017-09-21 17:00:45 +02:00
test_rest_command.py
test_rflink.py
test_rfxtrx.py
test_ring.py
test_rss_feed_template.py
test_script.py
test_shell_command.py
test_shopping_list.py
test_sleepiq.py
test_snips.py
test_spc.py
test_splunk.py
test_statsd.py
test_sun.py
test_updater.py
test_upnp.py Allow specifying multiple ports for UPNP component (#9560) 2017-09-24 13:08:58 -07:00
test_wake_on_lan.py
test_weblink.py
test_websocket_api.py
test_zone.py