mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Sensor.rest: verify SSL by default
This commit is contained in:
parent
c7e22e6910
commit
726557b2f6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user