mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Sensor.rest: verify SSL by default
This commit is contained in:
@@ -33,7 +33,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
resource = config.get('resource', None)
|
||||
method = config.get('method', DEFAULT_METHOD)
|
||||
payload = config.get('payload', None)
|
||||
verify_ssl = config.get('verify_ssl', False)
|
||||
verify_ssl = config.get('verify_ssl', True)
|
||||
|
||||
if method == 'GET':
|
||||
use_get = True
|
||||
|
Reference in New Issue
Block a user